Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to use audio units in an application

I've been looking for things online that teach how to use audio units in an application, with no luck. I'm trying to make an application that allows the user to apply AUTimePitch to the playback of audio files, on the fly. But i can't find anything online to teach a total beginner how to use audio units.

also, i'm making this for mac, not iOS

like image 910
Will Fancher Avatar asked Dec 16 '22 08:12

Will Fancher


1 Answers

The best document by far on the subject is Apple's Audio Unit Hosting Guide for iOS in the dev library. For a more general introduction, you can check out the Core Audio Overview.

I also found the MixerHost and iPhoneMultichannelMixerTest sample code incredibly helpful in starting to use audio units.

Finally, I find class references and service references like the Audio Unit Processing Graph Services Reference and the Audio Unit Component Services Reference useful for exploring the functionality of particular methods, constants, classes, and so on.

Edit: I realized that your question doesn't say whether you're working in Mac OS or iOS. This answer is obviously heavily iOS-centric. Could you edit your question to tell us what environment you're in?

like image 123
Luke Avatar answered Jan 02 '23 00:01

Luke