Questions tagged [jsapi]

The Java Speech API (JSAPI) is an application programming interface for cross-platform support of command and control recognizers, dictation systems, and speech synthesizers.

The Java Speech API (JSAPI) is an application programming interface for cross-platform support of command and control recognizers, dictation systems, and speech synthesizers. Although JSAPI defines an interface only there are several implementations created by third parties, for example FreeTTS.

Wikipedia article: http://en.wikipedia.org/wiki/Java_Speech_API

116 questions
1
vote
1 answer

How to define mbrola.base property while we are using the Java speech 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…
Hitesh
  • 23
  • 1
  • 5
1
vote
0 answers

Print() giving assertion when printing an object from a custom function

Ok so i have this function in the engine static bool myTestFunction(JSContext* cx, unsigned argc, Value* vp) { CallArgs args = CallArgsFromVp(argc, vp); int length = args.length(); if (length==2) { if…
gCoder12
  • 1,643
  • 2
  • 10
  • 5
1
vote
0 answers

How to support IE8 with google charts?

I'm creating a Google Charts page similar to the following example: http://plnkr.co/edit/paoZQTo1vFSxNJxe45io?p=preview My chart already works fine, except on Safari 5.0.3 with IE8 UserAgent Mode (which I have to support). Probably you can take any…
membersound
  • 81,582
  • 193
  • 585
  • 1,120
1
vote
1 answer

How to get more than one speech results in sphinx 4 using SpeechResult api?

result.getHypothesis() doesn't always give me best result so I want multiple results after recognization. I tried the code below, it returns me an empty array. Recognizer is an object of LiveSpeechRecognizer. SpeechResult result =…
parth karia
  • 230
  • 2
  • 7
1
vote
1 answer

Getting "(anonymous function)" error in the terminal

I am trying to implement speedometer in my rails application using this link But I am getting following error Uncaught ReferenceError: google is not defined (anonymous function) Here is my sample coffee script code $(document).ready -> drawChart…
I-am-simple-user
  • 409
  • 7
  • 19
1
vote
1 answer

What better implementation for JSAPI (Java Speech API) with Java EE (JSF)?

I'm searching for an implementation of JSAPI that can be used with Java EE (JSF). What implementation is better with JSF? The examples that I found, don't have an implementation for java web. The installation is in the web server or the local…
1
vote
3 answers

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…
Travis
  • 7,391
  • 12
  • 43
  • 52
1
vote
1 answer

Link to specific time in a youtube video via seekTo();

I’m trying to get something like an index page of a youtube video so that there are links to specific times of the video. I tried it to do like explained in Links to Specific Times in YouTube iframe embed, but somehow it doesnt seem to work. This is…
Tibor
  • 129
  • 1
  • 10
1
vote
1 answer

how to use google jsapi for jquery and jqueryui

Today i figured out that other the "standard way" to include jquery and jqueryui:
ipel
  • 1,326
  • 1
  • 18
  • 43
1
vote
0 answers

Best way to store CMU Sphinx text output

I am currently building a recognition program with cmu sphinx. I would like to take the speech query that is converted to text by sphinx and store it as a data file (I was thinking either .txt file or .php [due to webserver using .php]). after the…
1
vote
1 answer

Working with FreeTTS and JSAPI

I am working on a project where I needed Text to speech conversion. I Downloaded this FreeTTS 1.2 and to get familiar with the working I started making a simple spell bee program where the words will be spoken by the application and you have to…
1
vote
1 answer

what does the global objects mean in spidermonkey and what is the role of both JS_class and JS_NewGlobalObject ?

I was reading SpiderMonkey tutorial of how to embed and execute javascript code in c++ program via JSAPI spidermoneky. but I didn't totally understand what does the global objects do and what is the role of both JS_class and JS_NewGlobal? also…
sara
  • 256
  • 1
  • 3
  • 15
1
vote
2 answers

Access C++ object's members in javascript without registering its members

EDIT: /* Is it possible to access the non JSAPI class object in javascript via JSAPI inherited envelop. Some thing like below. */ class DataPersonal { public: std::string GetName() { return "ABC"; } }; class…
1
vote
2 answers

Customizing Google custom search jsapi (query strings)

Helo, Im creating Google cse function to search. With this code script does not set query string. it endless refreshing page. Maybe someone know hos ot make it correctly? I just need for every search different page like…
Mindau
  • 690
  • 6
  • 19
1
vote
1 answer

Spidermonkey: implementing "this"?

I have spidermonkey setup to create objects from custom classes. For instance, in a script i can say... var d0 = new MyDog(); ...and on my app's C++ side a Dog object is created and stored. What I would like to be able to do is then have that…
viperld002
  • 329
  • 4
  • 17