jsapi

How can I get the full backtrace in spidermonkey (JSAPI) from my reportError function

I'm embedding javascript in my app using spidermonkey and I have a function called reportError that receives a JSErrorReport. It seems simple to grab the current line of the error, but is it possible to get the entire call path to display a full backtrace? ...

Where do you include the jQuery library from? Google JSAPI? CDN?

There are a few ways to include jQuery and jQuery UI and I'm wondering what people are using? Google JSAPI jQuery's site your on site/server another CDN I have recently been using Google JSAPI, but have found that it takes along time to setup an SSL connection or just to resolve google.com. I have been using the following for Google:...

FreeTTS Volume Control

Hello all, I have a working speech solution that I'd been playing with over the years, part of which includes integration with FreeTTS. I'm using a client server model and trying to figure out how to adjust the volume on the generated speech that I write to the output stream. There appears to be two approaches in FreeTTS. There's the st...

Should I use Google's JSAPI in production code?

Possible duplicate of: should-i-link-to-google-apis-cloud-for-js-libraries also many other discussions, including: http://stackoverflow.com/questions/547384/where-do-you-include-the-jquery-library-from-google-jsapi http://stackoverflow.com/questions/1014203/best-way-to-use-googles-hosted-jquery-but-fall-back-to-my-hosted-library-on-go...

Freetts problem in Java

I am trying to run a program using freetts. I am able to compile the program however I am not able to use kevin or mbrola voices I get the follwing o/p msgs at the end System property "mbrola.base" is undefined. Will not use MBROLA voices. LINE UNAVAILABLE: Format is pcm_signed 16000.0 Hz 16 bits 1 channel big endian impor...

Google custom search (or alternative) in XHML

Google's JavaScript API makes use of the function document.write, thus is not usable in XHTML. Do you know a workaround how to get the custom search working in XHTML? Or is there a working alternative? ...

Having Problems Getting FreeTTS and JSAPI Working

First off I'm on Ubuntu linux if that matters. I have a simple project idea based off of FreeTTS and the JSAPI (Java Speech API) I've downloaded and unpacked FreeTTS and run their build script. Then tried compiling my code linking several jar's required in the lib directory into the class path like this: javac -cp /home/travis/Desktop...

how to define mbrola.base property while we are using the java speeach api.

import javax.speech.EngineList; import javax.speech.EngineCreate; import javax.speech.synthesis.SynthesizerModeDesc; import javax.speech.synthesis.Synthesizer; import com.sun.speech.freetts.jsapi.FreeTTSEngineCentral; import java.util.Locale; public class HelloWorld { public static void main(String args[]) { try { // cr...

self hosting google's jsapi

Hello! Is it legal to download the jsapi and self host it in my server instead of requesting it directly from the google's infrastructure? I know that this is not recommended but is it legal? Thanks. ...

Is it essential to use a developer key in Google Jsapi calls?

I've been using Google Jsapi like so: <script type="text/javascript" src="http://www.google.com/jsapi"&gt;&lt;/script&gt; <script type="text/javascript"> google.load("jquery", "1.3"); </script> But the Google docs recommend doing this: <script type="text/javascript" src="http://www.google.com/jsapi?key=YOUR_KEY_HERE"&gt;&lt;/scri...