I would like to compare to WAV audio files using an FFT. What open source libraries and / or sample code exist for performing such an operation?
I know we should use the above framework.how to implement it.any sample codes or documents be more useful.
Warrior
2010-10-25 06:49:17
it's been available on OS X for years. if the documentation and samples relevant to iOS are too sparse, then refer to the OS X samples and docs for additional demonstrations.
Justin
2010-10-25 07:04:37
@Warrior - See this: http://developer.apple.com/performance/accelerateframework.html as well as the WWDC 2010 Session 202 - The Accelerate framework for iPhone OS.
Brad Larson
2010-10-26 16:57:49
@Warrior - In fact, the vDSP Programming Guide in Apple's documentation has sample code for performing an FFT within it: http://developer.apple.com/library/ios/documentation/Performance/Conceptual/vDSP_Programming_Guide/SampleCode/SampleCode.html#//apple_ref/doc/uid/TP40005147-CH205-45465
Brad Larson
2010-10-26 17:51:57
+2
A:
Apple's aurioTouch sample app (available on the developer.apple.com web site) includes source code for an FFT (not as fast as the one in the iOS4 Accelerate framework though). The sample app also contains a source code example of how to use an FFT to process audio input data, which is very similar to the raw PCM data contained in a .wav file after the header.
hotpaw2
2010-10-26 07:12:26