On Oct 26, 11:45 am, Bret Foreman <bret.fore...@gmail.com> wrote:

> As a first cut I would set up two files, record to one while doing an
> FFT on the other. Alternate the roles of the files every 200mS and
> display the latest frequency. Do you have experience with FFT
> windowing to avoid edge harmonics?

If you don't know what string is being played and need to determine
it, an FFT could make sense.

Since you only have 6 (or 12?) strings to check, you could avoid the
windowing by calculating a single point of the DFT of a length
optimized for each string's frequency, normalizing, and comparing them
to determine which is being played.

Once you do know the string, an FM demodulator algorithm centered at
the proper frequency might be a superior approach for determining the
tuning error.

-- 
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

Reply via email to