What you are asking for is a non-trivial problem. To determine the frequency of a signal you have to capture a number of samples. Whether they go to a memory buffer or SD is a detail. You then need to perform a Fast Fourier Transform (or similar transform for the pedantic ones) to determine the frequency. The more samples you collect the more accurate the result. You need more samples to (1) make a more fine grade determination of the frequency and (2) to increase the signal to noise ratio.
Rud On Aug 31, 3:08 pm, guruk <[email protected]> wrote: > Hi, > i look for a very simple example what signal arrives at my mic in > realtime. > It does not need to be saved to sd-card or anything. > > Just a $vol=GetVolume (0-xxxx) > $frequ=Getfrequ (0-28000) > > something like that. > > The Examples I found are just overloaded and mostly to record some > seconds to sd-card. I dont need that at all, just whats the signal > right > now arriving :) > > thanks i advance > > any snippet can help > > chris --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---

