I may be wrong, but I'm wondering if taking the approach of FFT is going to be practical without dedicated hardware. The brute force approach amounts to doing a convolution computation for each sample, which could be millions of multiplies per second, depending on the bandwidth and Q factor required. But I'm pretty sure that with some clever math, that can be pared down considerably for a specific application.
I have applied a digital filter approach for a prototype shake detector, realized as a band pass filter. This takes only one multiply for each pole and zero. Two or three concurrent band pass filters can probably do a pretty good job of implementing a single pitch tuner. A critical factor in this case is a precise sampling interval. I strongly suspect that a really good digital filter cannot be done solely with the SDK. -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en