We closed this forum 18 June 2010. It has served us well since 2005 as the ALPHA forum did before it from 2002 to 2005. New discussions are ongoing at the new URL http://forum.processing.org. You'll need to sign up and get a new user account. We're sorry about that inconvenience, but we think it's better in the long run. The content on this forum will remain online.
IndexProgramming Questions & HelpSound,  Music Libraries › speech recognition with sphinx
Page Index Toggle Pages: 1
speech recognition with sphinx (Read 3128 times)
speech recognition with sphinx
Oct 22nd, 2008, 3:12pm
 
did someone ever experienced to implement a speech recognition with sphinx (http://cmusphinx.sourceforge.net) or the voce project (http://voce.sourceforge.net)?

i built one with voce in eclipse and was able to run it as an applet.. i´m new to processing and i wonder if this could be done, too... i tried to import all jars and the code but ran into errors...
Re: speech recognition with sphinx
Reply #1 - Oct 29th, 2008, 12:21pm
 
hi,

this is the code for speech-recognition with voce:


voce.SpeechInterface.init("voce", false, true, "voce", "digits");

System.out.println("This is a speech recognition test. " + "Words: play video, stop sound, open link, close window");

while (voce.SpeechInterface.getRecognizerQueueSize() > 0)
   {
     String s = voce.SpeechInterface.popRecognizedString();

     System.out.println("You said: " + s);
   }


it compiles without any errors but nothing happens at all..

i got this application running in eclipse before and there
it worked perfectly...

any ideas?

thanks
Re: speech recognition with sphinx
Reply #2 - Mar 14th, 2010, 4:48pm
 
Hi,

I have voice recognition working with the Sphinx4 engine, uses basic grammar files and Open Sound Control to send messages to Processing, max/msp and arduino. I compiled it in Eclipse using ANT build scripts  and its runs as a standard jar from msdos or TERMINAL on macosx. Will post on my youtube channel in next few days,

can't display my channel here as link as this is my first post, just go to youtube and search for 'interactiveartsni'
Re: speech recognition with sphinx
Reply #3 - May 24th, 2010, 6:43am
 
Hi!

I'm using Voce and it's very very powerful!!

Read this:
http://processing.org/discourse/yabb2/num_1191403856_15.html#17
Page Index Toggle Pages: 1