Android microphone to select a specific tone

Hello, I was wondering if it is possible to use the tone generator class for Android to create a tone in one device and listen to the same tone on another device. If possible, I have a few more questions.

Given the ambient noise, is it possible to listen only to that particular tone?

Will this process be resource intensive?

Can I use a tone that is incomprehensible to the human ear or close to it?

Finally, is it possible to use a tone that could be heard only a few feet away from the sending device?

Thanks so much for your guys and girls :)

Edit> Thank you for adding the sabastian sound processing tag. A much better description.

+5
source share
2 answers

It will be an intensive processor, yes. The path to it is quite simple: you need a permanent recorder that puts the received data into the FFT (fast Fourier transform). FFT basically does one thing: splits the sound into frequency / power. With the help of this “cleaned from background noise” result, you can check things like “whether there was sound with a frequency of 1000 Hz for at least 2 seconds” - and act accordingly. Reasonable FFT speed is implemented here: http://www.badlogicgames.com/wordpress/?p=449 FFT ( , IS) (DTMF) - 2 , ( /).

" " , () . (b) , , .

" " ( , ).

+4

: "Android: " . , , , FFT.

,

+2

All Articles