There are many methods for pitch detection. Personally, I recommend the YIN 
method.
There is some Matlab code available online from the DAFX book.

[Sent from a mobile device]

On Apr 2, 2015, at 23:32, "Kevin Callahan" 
<kc...@mac.com<mailto:kc...@mac.com>> wrote:


On Apr 2, 2015, at 3:22 PM, Paul Davis 
<p...@linuxaudiosystems.com<mailto:p...@linuxaudiosystems.com>> 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).

When you speak of real-time analysis, would guitar tuners be an example?  I’m 
not making a guitar tuner, but that’s the sort of thing I need to do.


On Thu, Apr 2, 2015 at 5:30 PM, Kevin Callahan 
<kc...@mac.com<mailto:kc...@mac.com>> 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      
(Coreaudio-api@lists.apple.com<mailto:Coreaudio-api@lists.apple.com>)
Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/coreaudio-api/paul%40linuxaudiosystems.com

This email sent to p...@linuxaudiosystems.com<mailto:p...@linuxaudiosystems.com>

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Coreaudio-api mailing list      
(Coreaudio-api@lists.apple.com<mailto:Coreaudio-api@lists.apple.com>)
Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/coreaudio-api/nuno.fonseca%40ipleiria.pt

This email sent to nuno.fons...@ipleiria.pt<mailto:nuno.fons...@ipleiria.pt>
 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Coreaudio-api mailing list      (Coreaudio-api@lists.apple.com)
Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/coreaudio-api/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to