cmu-sphinx-4-java-on-windows
-
download the most recent version of the JDK SE (Java Development Kit, Second Edition) e.g. V1.6.0_021
-
Install it to get your Java Runtime Engine
-
download the Sphinx 4 binary files
-
Extract to a directory (e.g. sphinx4-1.0beta4)
-
Open a command prompt and navigate to the sphinx directory (cd c:\sphinx4-1.0beta4)
-
java -version should show you what version of Java Runtime you have
-
c:\sphinx4-1.0beta4\lib\jsapi.exe this will activate your jsapi license
-
java -mx312m -jar bin/AudioTool.jar
A graphical Java Audio Tool that allows you to Record, when you hit stop it will automatically playback (and you can replay with Play, and zoom in on the charts).
Literally you are saying: run the java environment, 312 MB of RAM for a heap, run the "jar" file in directory "bin", "AudioTool.jar"
Unfortunately no other Demo Apps seem to recognize my microphone, java -mx312m -jar bin/AudioTool.jar -dumpMixers
Shows a lot of audio devices available...
The advice from the cmusphinx website crashes the application
java -Dmicrophone[selectMixer]=last -jar bin/AudioTool.jar
So, no luck with: java -mx312m -jar bin/HelloWorld.jar
Say: (Good morning | Hello) ( Bhiksha | Evandro | Paul | Philip | Rita | Will ) Start speaking. Press Ctrl-C to quit.
Nor the exciting ZipCity.jar...
Considering the number of applications that autodetect or just use whatever default OS Microphone (e.g. Windows) this is pretty frustrating.
The "help tip" for Linux (ironically I'm using windows), is "Try switching to another version of the JDK"... so it's Java's fault... right.