> On Sep 23, 2015, at 9:05 PM, dangerwillrobinsondan...@gmail.com wrote:
> 
> There is also AVAudioEngine added in Yosemite. 
> It's a higher level Objective-C API around Core Audio. 
> The docs still kind of don't tell you much and at times the API makes more 
> sense if you know a little about Core Audio but the friction is a lot less C 
> level. 

Nice! I hadn’t heard of this before. It looks equivalent to the AUGraph API but 
much easier to use.

Rags, if you want to generate and play waveforms, it looks like you’d create an 
AVAudioPCMBuffer, fill it with audio samples (like series of 0, 0, 0, 1, 1, 1, 
… for a square wave), then connect that to an AVAudioPlayerNode and that to an 
AVAudioMixerNode.

> The truth is there's a lot you do need to know to do audio. Just like video 
> or databases or networking or almost anything. 

I’ve found audio to be one of the hardest areas to program to, partly because 
the data formats are complex and partly because a lot of stuff needs to run in 
real-time, but mostly because the APIs have been very difficult to use. Apple’s 
been doing a great job with AVFoundation; I just hope they find the time to 
document the newer parts properly.

—Jens
_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

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

Reply via email to