Re: Extract data from AIFF file to compute FFT
Re: Extract data from AIFF file to compute FFT
- Subject: Re: Extract data from AIFF file to compute FFT
- From: Brian Willoughby <email@hidden>
- Date: Sun, 3 Aug 2008 17:18:58 -0700
FFT is not the correct choice for tuning, especially if the sample rate is not a precise multiple of the desired tuning frequency. There are much faster ways to do this without calculating hundreds of frequency bins for only 4, 6, or 8 strings.
If you want to do an FFT on real data, not complex, then investigate the vecLib framework (within Accelerate) for the functions which convert real to complex, and also investigate the FFT functions which take real data instead of complex.
Brian Willoughby Sound Consulting
On Aug 3, 2008, at 13:58, Francois Baronnet wrote: Hi all,
I'm willing to develop some tuning tool (guitar & ukulele) for iPhone. I'm facing some issues with the record part: I'd like to record sound for 2 or 3 seconds (this part is ok) and then extract from it the principal frequency. Some people said to me to compute the Fast Fourier Transform. But one point is missing: in all theses chunks of sound, what do I should send to my FFT function? I heard of arrays of complex numbers, but I'm a bit confused...
Thanks in advance for any help. -- François Baronnet
|
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Coreaudio-api mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden