Piwho
Piwho copied to clipboard
How does the automatic recognition code works? I don't see audio being saved
Hi,
First of all thank you for sharing this awesome library!
I'm trying to implement the audio recording script which records audio and recognizes the speaker, but when I run it it only says
* Listening mic. recording..
It never stops, after looking in the vad.py file I don't see where the .wav file is stored , I'm probably missing something.
the only other thing I have done that could be causing an issue, I chaged the audio settings to CHUNK =512 RATE =48000 this was done so pyAudio could work with my USB audio card C-media
Any help is appreciated! Thanks
Try changing THRESHOLD
& SILENCE
variable values. Recording stops automatically after silence is detected. If you're in a noisy environment, try setting THRESHOLD
value to ~3000.