-
Notifications
You must be signed in to change notification settings - Fork 81
Live streaming with python #9
Comments
https://github.com/cmusphinx/pocketsphinx/blob/master/swig/python/test/kws_test.py contains pyaudio example. |
Hi, Thanks for the example. I've tried to run this and it gets to a point where it is just outputting things like this: INFO: cmn_prior.c(116): cmn_prior_update: to < 60.80 -9.63 15.42 24.64 -11.65 22.93 -0.86 -14.32 -4.19 -28.97 -22.39 -29.66 -30.96 > and it never outputs a hypothesis. Do you know why this might be happening? Thanks again, |
You can add -rawlogdir <dir> to configuration to dump raw files. You can listen them to get an idea what is being recorded. Most likely audio format is wrong, something like big endian instead of little endian or wrong sample rate. |
hi , I know this an old question. But i want to know how to do " add -rawlogdir to configuration to dump raw files" which you have mentioned above. |
Can you help me figure out how to live stream mic input into the python program? I'm trying to figure out if I can use gstreamer somehow with the example.py but I'm having a hard time.
Thanks
The text was updated successfully, but these errors were encountered: