Search code examples
androidvoice

how to catch voice input when user speaks


How to catch the voice input when user start speaking, as like talking tom application. Can any one help me ? i want to start the voice record when the user start speaking it must stop when user stop talking, as like how the talking tom application works.Can any one help ? Thanks in Advance.


Solution

  • You have to use some Voice Activity Detection (VAD) algorithms. This signal processing stuff is usually written in C so you also have to learn something about using NDK