To get the frequency of a tone you need to do a Fast Fourier Transform
(FFT). You can probably find many examples of Java code that do this.
A straight FFT might not get you what you want though as you'll find
once you learn more about them. It is tricky getting an exact
frequency reading from an FFT. But there are other related techniques
that will do this. You can find them with web searches.

Rud


On Sep 30, 4:39 pm, sixfoottallrabbit <[email protected]>
wrote:
> Hey,
>
> I'm not really sure how this would work and I can't find any way of
> doing it in the Android reference. I've been looking at the classes in
> the android.media package.
>
> I'd like to be able to find out the frequency (in hertz preferably) of
> input from the microphone as it is being input. Is this possible?
>
> I'm just looking for some pointers in the right direction if anybody
> has any. :)
>
> Thanks.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to