Re: Sound and frequences ...
Re: Sound and frequences ...
- Subject: Re: Sound and frequences ...
- From: Brendan Younger <email@hidden>
- Date: Sun, 12 May 2002 19:01:05 -0400
On Sunday, May 12, 2002, at 06:13 PM, Ben Kennedy wrote:
On 12,05,02 at 5:59 pm -0400, SoK wrote:
How i can obtain the frequences of a sound with the sound input ?
Someone have an idea ???
Run a fast fourier transform, perhaps?
On that front, Apple supplies a library called vDSP which has
AltiVec-accelerated FFT functions. And if you need non-AltiVec code,
the FFTW (Fastest Fourier Transform in the West) at www.fftw.org is
considered to be probably the best all-around library for this. And if
you're serious about the performance of it, use gcc 3.1 and edit the
make file to use optimization level 3. (It might already use this, but
most open source software uses O2 because not all platforms have an O3.)
Brendan Younger
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.