I've just done something similar for a wavetable synth - I did an FFT, found the lowest bin with a lot of energy in it, then back to the time domain, autocorrelating the start of the next cycle with the beginning of the current, with sub-sample precision. It works well enough for my application but isn't tested in real-time.
On 2 Apr 2015, at 22:30, Kevin Callahan <[email protected]> wrote: > I’m writing an iOS app in Swift (will also write a Mac version later) and > would like to add pitch detection. Is there an open-source project that does > frequency pitch detection? Would I use AVAudioSession to capture the audio, > then drop down into CoreAudio to do the pitch detection? > > In my initial research, I’ve learned there are many algorithms and ways to go > about doing pitch detection - each having strengths and weaknesses. > > Can someone please point me in the best direction to get started? > > Thanks, > -K > _______________________________________________ > Do not post admin requests to the list. They will be ignored. > Coreaudio-api mailing list ([email protected]) > Help/Unsubscribe/Update your Subscription: > https://lists.apple.com/mailman/options/coreaudio-api/omenie%40omenie.com > > This email sent to [email protected] _______________________________________________ Do not post admin requests to the list. They will be ignored. Coreaudio-api mailing list ([email protected]) Help/Unsubscribe/Update your Subscription: https://lists.apple.com/mailman/options/coreaudio-api/archive%40mail-archive.com This email sent to [email protected]
