Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Best way to fourier transform [closed]

We need to get constantly- audio pure frequencies to the iPhone audio jack mic input, and recognize specific frequency.

i have read about 2 ways of FFT(/fourier transform) : AurioTouch , or using Accelerate framework. i also found a tutorial on recognize a blow-which I couldn't understand if it works only on the mic, or also from the mic input jack? (same?)

The apple AurioTouch seems so big and heavy, and as far as I know from University, the math of the Fourier is just a sigma of exponents -sampled.

What is the best way for me to implement this? the easiest way? I cant understand something from the Apple documentation, it's full of files and code, and no one direct you on exactly step by step how to do that.(what each file does? ccp files?!)

Something else, what's the best way to recognize a short on the audio jack, as the Apple headphones switches does ?

like image 865
Curnelious Avatar asked Nov 13 '22 23:11

Curnelious


1 Answers

Definitely use the FFT functions provided by Accelerate framework because this is the most highly optimized framework on iPhone for doing massively parallel vector arithmetic.

like image 189
Cocoanetics Avatar answered Nov 25 '22 19:11

Cocoanetics