Can you make any assumptions about the type of input you expect? You mentioned 
a guitar tuner, if you know you will have a single sustained pitch of stable 
timbre in a constrained range it can be much easier to implement than a 
generalized algorithm that will work for many different types of inputs.

+1 for YIN.

> On Apr 2, 2015, at 3:49 PM, Paul Davis <[email protected]> wrote:
> 
> realtime analysis means that you are limited to processing the audio as it 
> flows through the plugin. you cannot read ahead, or behind, you cannot change 
> the amount of data you receive or the rate at which you receive it. your 
> methods must be realtime safe.
> 
> non-realtime analysis means, in practice, that you are given a file or fixed 
> buffer with all the data in it, and you can process it in any order, and 
> chunk sizes you want, using any algorithms you feel like.
> 
> On Thu, Apr 2, 2015 at 6:30 PM, Kevin Callahan <[email protected]> wrote:
> 
>> On Apr 2, 2015, at 3:22 PM, 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).
> 
> 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 <[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/chad%40chadawagner.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]

Reply via email to