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 ?
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.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With