Skip to content
This repository has been archived by the owner on Jun 29, 2022. It is now read-only.

Live streaming with python #9

Closed
cfwelch opened this issue Sep 27, 2015 · 4 comments
Closed

Live streaming with python #9

cfwelch opened this issue Sep 27, 2015 · 4 comments

Comments

@cfwelch
Copy link

cfwelch commented Sep 27, 2015

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

@nshmyrev
Copy link

@cfwelch
Copy link
Author

cfwelch commented Sep 27, 2015

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 >
INFO: cmn_prior.c(99): cmn_prior_update: from < 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 >
INFO: cmn_prior.c(116): cmn_prior_update: to < 63.61 -10.68 17.65 27.64 -14.80 29.81 -6.41 -10.70 -4.91 -33.42 -20.50 -34.30 -30.04 >

and it never outputs a hypothesis. Do you know why this might be happening?

Thanks again,
Charlie

@nshmyrev
Copy link

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.

@sajith91
Copy link

sajith91 commented Dec 26, 2017

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.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Development

No branches or pull requests

3 participants