-
Notifications
You must be signed in to change notification settings - Fork 158
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
Adjusting for ambient Noise missing. #5
Comments
It fixed the issue for you, but what does it do? |
I read it on this website. it explains what setting dynamic energy to true and using adjust for ambient does. https://www.codesofinterest.com/2017/04/energy-threshold-calibration-in-speech-recognition.html |
Tried this too and the accuracy seems to have improved significantly. Thanks for sharing |
It does seem to make it better ill try to do some testing to see how it reacts when you move from environment to environment and if it needs re calibration |
This is now done in the code. |
You might want to add this line after with sr.Microphone as source
r.adjust_for_ambient_noise(source, duration = 1)
Wasn't recording for me till I added this.
Windows btw.
The text was updated successfully, but these errors were encountered: