Hello!
I need to recognise human voice with a microphone. The idea is to filter ambient noise and just detect when someone is talking.
My idea was to read the analoginput for about x milisecons and check for variations? but i'm not shure, i wonder if there is a easy way to check if it is noise or voice, asuming that there will not be much noise arround, just sound steps or knocking sounds.
Thank you very much!
There is not an easy way to distinguish noise from voice, that's an artificial intelligence problem!
There might be parameters that are measurable that are good clues, like the power spectrum
of the sound envelope, or even just the max level averaged over a few seconds
You can buy Arduino compatible voice recognition modules. They use a sophisticated microcomputer to accomplish the task. 1Sheeld - All Arduino shields on your Smartphone
And those modules have to be trained.
What if a person comes in that speaks in a different language? E.g. you train it in Chinese and suddenly someone speaking Swahili is in the room.
Thanks guys for the answers. The recognition modules, yes, they need to be trained I guess. I think i'm gonna try without filters and see how it works, may be the noise is not enought to be a problem. Otherwise i could try with a high pass and low pass filter to avoid at least some noises?
Regards
Many noises are the same frequency as a human voice.
Those voice recognition modules will be able to recognise specific words - well, sound sequences is probably a better word. Not "a human voice" as such.
And those modules have to be trained.
Not all of them.
For example, the Tigal board features, in addition to user trained recognition,
Speaker Independent Recognition (do not require user training) available in US English, UK English, German, French, Italian, LA Spanish, Japanese and Korean
.
I think i'm gonna try without filters and see how it works, may be the noise is not enought to be a problem. Otherwise i could try with a high pass and low pass filter to avoid at least some noises?
Excellent! It will be a great learning experience.
Only if you speak with just the right accent, I may assume...