AlexeyAfanasyev / DetectingAudioFrequency

An example iPhone project to show how to detect frequency of captured microphone audio.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

DetectingAudioFrequency

An example iPhone project to show how to detect frequency of captured microphone audio. This project illustrates this stackoverflow answer: http://stackoverflow.com/questions/11686625/get-hz-frequency-from-audio-stream-on-iphone/19966776#19966776

This project uses Apple's Accelerate.framework to perform CPU consuming digital signal processing.

  1. Generate a specific frequency using Audacity for example.
  2. Run the project, play the sound.

The main stuff that does FFT is inside FFTHelper.mm.

About

An example iPhone project to show how to detect frequency of captured microphone audio.

License:MIT License


Languages

Language:Objective-C++ 74.8%Language:C++ 18.7%Language:C 4.2%Language:Objective-C 2.3%