Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

mic_vad_streaming - not picking up any audio from the microphone #7

Closed
vgoklani opened this issue Dec 19, 2019 · 2 comments
Closed

Comments

@vgoklani
Copy link

Ran this on my macbook pro, and it wasn't picking up any audio from the built-in microphone. I used device = None, then tried device = 0,

I ran this: https://gist.github.com/mabdrabo/8678538

to confirm that pyaudio works and was installed correctly. It's able to pickup audio from the microphone.

Any ideas?

@lissyx
Copy link
Contributor

lissyx commented Dec 19, 2019

Ran this on my macbook pro, and it wasn't picking up any audio from the built-in microphone. I used device = None, then tried device = 0,

I ran this: https://gist.github.com/mabdrabo/8678538

to confirm that pyaudio works and was installed correctly. It's able to pickup audio from the microphone.

Any ideas?

What's giving pyaudio.PyAudio.get_device_info_by_index() ?

Are https://github.com/mozilla/DeepSpeech-examples/blob/r0.6/mic_vad_streaming/mic_vad_streaming.py#L56-L57 reached and working ?

What makes you think it wasn't picking up any audio from the built-in microphone ?

@vgoklani
Copy link
Author

I take it back, it's picking up audio (i checked the frames directly) but not outputting anything.

It just says Listening.

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

No branches or pull requests

2 participants