Thanks for your help. We've received your bug report.

op.recognize

2007-2009
Tokyo, Japan

Speech recognition and segmentation. Recognize is a speech to text based on Sphinx4. It translates the incoming audio signal into text and can give dates of words and phonemes in a buffer~. Uses JSGF grammar file and ngram model languages. No special voice learning is needed and potentially multilingual.

op.recognize

Jan 9, 2010 at 12:06am
#263651
Jan 25, 2010 at 11:02pm

o nice! thank you so much for working on this project! i was going to try to implement an earlier speech to text program i had found (but never tested) in a performance piece coming in april. I’ll get into this in march, and i’ll definitely link you the results.
thank you so much!

#263652
Feb 2, 2010 at 12:58pm

There were too many dl from my website. You can now download it from :

http://rapidshare.com/files/344796157/recognize.zip

#263653
Feb 14, 2010 at 6:09am
#263654
Feb 27, 2010 at 9:28am

Hi pasquet!
Thanks for your implements.

I’ve installed op.recognize and when i try to load a text file, the message “op.recognize-> error allocating” shows up in the Max window. What’s going on?

I couldn’t solve this problem, maybe you know what is wrong ;-(

regards

#263655
Mar 2, 2010 at 9:22am

Hello !

I wrote this error message when you have a mistake in the loading of data.
It seems you are using the right extension files.

Make sure you have installed “sphinx4max.jar” AND “jsapi.jar” in your Max java/lib folder.
If yes, what did you write in the gram textfile you loaded ? You should have a look indide the digits.gram example. Maybe the problem is there.
Another question : are you using the example file or did you make a new one ?

best,

#263656
Mar 4, 2010 at 6:23am

New version with bug fixes and more efficiency :

http://rapidshare.com/files/358682924/recognize.zip

#263657
Mar 8, 2011 at 9:03am

Hi Olivier,
Wonderful and very useful implementation!
I’m experiencing the same problem as Gilson. Getting “op.recognize-> error allocating” message when I try to load the example .gram and .lm files. This happens on a Windows system. I also tested on Mac and everything seems to work fine there. Any ideas?

Thanks,

#263658
Mar 24, 2011 at 4:05am

hello,

Oohoh really ?
I’ll quickly have a look if there is a problem on Windows.

Are you sure you did put the jar file into the lib folder and if you accepted the SUN conditions running the shell script ?
You can find the installation information in the read_me.txt file.

#263659
Apr 5, 2011 at 6:33am

I am having trouble unpacking it? I have windows so this terminal.app thing doesnt apply, I’ve moved the files to the classes and lib folder in the java folder….

Now what dooo I do? :(
Kindest Regards,

Rob

#263660
Apr 9, 2011 at 5:22am

I’ve got a little further, what is this error?

(mxj~) Class op.recognize is not a subclass of com/cycling74/msp/MSPObject

#263661
Apr 13, 2011 at 5:17pm

There is an error in the max window saying “wrong arguments”… ?

#263662
Apr 14, 2011 at 8:17am

Hello Rob,

You are using mxj~ and not mxj. I guess it is the reason.

best

#263663
Apr 14, 2011 at 8:19am

Hello batman,

You probably do not use the right arguments. Do you have this problem when you load the help patch ?

best

#263664
Apr 14, 2011 at 2:24pm

Thank you for your reply, I am attempting to make an installment for a university project! It says that there is no helpfile for op.recognize when I press “alt” and click the mxj op.recognize object. In-fact, when I type “mxj op.recognize”, in the max window it says straight away “wrong arguments” before I have even done anything!

Regards

#263665
Apr 15, 2011 at 9:12am

Hey Olivier!

First of all, you did a great job on that object. It works very well.

Is it possible to make the speech recognition in real time? I need it to sync a text written behind an actor with the actors voice.

Also, I am german. Do you know where I can find a german dictionary to feed your object with?

kind regards,
Heiko

#263666
Jun 15, 2011 at 11:02am

Hi Olivier,

This is indeed a great work, and a big resource.
I have installed and am not able to make it work.

How do I give a voice input ?
I am a novice, just started my research on speech recognition.

It’ll be really helpful if you can tell me how exactly this works.

Thanks.

#263667
Jun 20, 2011 at 6:59am

> Is it possible to make the speech recognition in real time? I need it to sync a text written behind an actor with the actors voice.
< yes and no. :)
Since it is not a continuous audio stream, you have to find a way to stop the recording, then do the process. I did used 2 buffers in parallel. The most difficult part of the job is finding the right moment when to stop the recording. Envelope follower ?

#263668
Jun 20, 2011 at 7:01am

> How do I give a voice input ?
< You have to use buffer~ and record~. record~ would record the audio to the buffer~. When you have finished recording, you stop the recording and bang the object.
I hope this helps.

#263669
Jun 20, 2011 at 7:04am

> In-fact, when I type “mxj op.recognize”, in the max window it says straight away “wrong arguments” before I have even done anything!
< You need to give it at least one argument; the buffer name to which it is related.

#263670
Aug 25, 2013 at 5:45pm

I’m getting op.recognize-> error allocating when trying to load any of the example language files. I am on windows. Copied the right files to the classes and lib dirs. Anyone figure this out yet?

This looks good right?
MXJ System CLASSPATH:
C:Program Files (x86)Cycling ’74Max 6.1Cycling ’74javalibjitter.jar
C:Program Files (x86)Cycling ’74Max 6.1Cycling ’74javalibjode-1.1.2-pre-embedded.jar
C:Program Files (x86)Cycling ’74Max 6.1Cycling ’74javalibjsapi.jar
C:Program Files (x86)Cycling ’74Max 6.1Cycling ’74javalibmax.jar
C:Program Files (x86)Cycling ’74Max 6.1Cycling ’74javalibsphinx4max.jar
MXJClassloader CLASSPATH:
C:Program Files (x86)Cycling ’74Max 6.1Cycling ’74javaclasses
Jitter initialized
Jitter Java support installed
op.recognize based on CMU SphinX4 _Olivier Pasquet _2006 – rev 2009

#263671
Dec 13, 2013 at 8:19am

does look good, i’m on osx 10.6.8 and have comparable things, i succeed loading digits.gram, alas not hellongram.trigram.lm
errors reported :
class not found !java.lang.ClassNotFoundException: edu.cmu.sphinx.model.acoustic.WSJ_8gau_13dCep_16k_40mel_130Hz_6800Hz.Model
and
op.recognize-> error allocating Property exception component:'lexTreeLinguist' property:'acousticModel' - component 'hub44' is missing
edu.cmu.sphinx.util.props.InternalConfigurationException: component 'hub44' is missing

#275639
Dec 27, 2013 at 2:38pm

is the source code available anywhere? I may end up following in Oliver’s footsteps and wrap Sphynx for max, but if the work has already been done, it would be nice to just debug what’s there.

#276782
Dec 27, 2013 at 6:43pm

you should get in touch directly with him then :) (through his website)

#276787

You must be logged in to reply to this topic.