syedhali / EZAudio

An iOS and macOS audio visualization framework built upon Core Audio useful for anyone doing real-time, low-latency audio processing and visualizations.
Other
4.94k stars 821 forks source link

How to get the real-time Frequency ?? not the maxFrequency ??? #307

Open ethan-cqt opened 8 years ago

ethan-cqt commented 8 years ago

i want to make a ukulele tuner thank you

magnus80a commented 8 years ago

Here are some methods to obtain the frequency https://ccrma.stanford.edu/~pdelac/154/m154paper.htm

The closest to calculating frequency I've found in EZAudio (1.1.5) is to use the FFT delegation and find the maximum bin in the resulting buffer and correlate it to frequency. There's a sample project for that, it might be enough for your tuner app.