FFT Pitch Detection for iOS using Accelerate Framework?

前端 未结 2 1114
再見小時候
再見小時候 2021-02-04 17:46

I have been reading up on FFT and Pitch Detection for a while now, but I\'m having trouble piecing it all together.

I have worked out that the Accelerate framework is pr

2条回答
  •  故里飘歌
    2021-02-04 18:06

    I have an example implementation of an Autocorrelation function available online for ios 5.1. Look at this post for a link to the implementation AND functions on how to find the nearest note and how to create a string representing the pitch (A, A#, B, B#, etc...)

    While the FFT is very useful in many applications, it might not be the most accurate if you're trying to do simple pitch detection. (It can be as accurate, but you have to deal with complex numbers to do a lot of phase calculations)

提交回复
热议问题