Looking at the highest bin on the FFT doesn’t give you pitch information. Yes, it can work in some situations and for some timbres, but it will not work for most situations.
One of the things that I like about YIN, is that it also gives you a voicing parameter, that you can use as a confidence information, because sometimes you have non-pitched sounds and you may want to handle this situations... Regards, Nuno Fonseca http://ww2.estg.ipleiria.pt/~nuno.fonseca > On 04 Apr 2015, at 11:08, Albin Stigö <[email protected]> wrote: > > Why not just use the FFT functions in the accelerate framework? > > --Albinn > > On Fri, Apr 3, 2015 at 12:22 AM, Paul Davis <[email protected]> > wrote: >> aubio is a common starting point for open source pitch detection, as is the >> CLAM project. however, my impression is that to do it well, you want >> non-realtime analysis, which means that normal AU's are not ideal. the VAMP >> plugin suite is another open source API and set of plugins specifically >> designed for non-realtime analysis. >> >> please don't use these sources if you intend to write proprietary software >> (though of course, nothing is going to stop you). >> >> On Thu, Apr 2, 2015 at 5:30 PM, 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/paul%40linuxaudiosystems.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/albin.stigo%40gmail.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/nuno.fonseca%40ipleiria.pt > > 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]
