Question

can we determine the state of MIC that any type of Voice is going in to MIC?

Or

how Voice Recognition APP decide that we have complete our word and it start it's process of searching words?

Was it helpful?

Solution

Reading samples from input device (Microphone) and detecting a linear amplitude of a signal is one way.

There are more sophisticated ways to do this, like applying "Fourier transform" and detecting amplitude of specific range of "voice" frequencies, but that is harder and requires some knowledge of signal processing.


You can read raw LPCM sample data using AndroidRecord class.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top