optimization - http://archive.pkmital.com https://archive.pkmital.com computational audiovisual augmented reality research Sat, 28 May 2011 00:09:56 +0000 en-US hourly 1 https://wordpress.org/?v=6.9.4 Real FFT/IFFT with the Accelerate Framework https://archive.pkmital.com/2011/04/14/real-fftifft-with-the-accelerate-framework/ https://archive.pkmital.com/2011/04/14/real-fftifft-with-the-accelerate-framework/#comments Wed, 13 Apr 2011 23:05:05 +0000 http://pkmital.com/home/?p=576 Apple’s Accelerate Framework can really speed up your code without thinking too much. And it will also run on an iPhone. Even still, I did bang my head a few times trying to get a straightforward Real FFT and IFFT working, even after consulting the Accelerate documentation (reference and source code), stackoverflow (here and here), and an existing implementation (thanks to Chris Kiefer and Mick Grierson). Still, the previously mentioned examples weren’t very clear as they did not handle the case of overlapping FFTs which I was doing in the case of a STFT or they did not recover the power spectrum, or they just didn’t work for me (lots of blaring noise).

Get the code on my github:
http://github.com/pkmital/pkmFFTContinue reading...

The post Real FFT/IFFT with the Accelerate Framework first appeared on http://archive.pkmital.com.

]]>
https://archive.pkmital.com/2011/04/14/real-fftifft-with-the-accelerate-framework/feed/ 24