I have now spent over 3h trying to figure out how to install the CoreAudio SDK on the mac as described in the makefile: “SMTG_COREAUDIO_SDK_PATH is not set. If you need it, please download the COREAUDIO SDK”.
The issue is that I just cannot figure out where I am supposed to download the CoreAudio SDK.
The CoreAudio framework is installed with XCode but the CoreAudio SDK is nowhere to be found. The CoreAudioSupport.cmake provided with the SDK looks for a file CoreAudio/AudioUnits/AUPublic/AUBase/AUBase.cpp to determine whether it is installed. As far as I can tell this file is NOT part of the CoreAudio framework which makes me think that the CoreAudio SDK is not the same as the CoreAudio framework.
The document on the Apple website A Quick Tour of the Core Audio SDK states that to download “the most recent Core Audio SDK” go to http://developer.apple.com/sdk/ but the Downloads/More Downloads section (Sign In - Apple) does not contain the core audio sdk which I guess is not too surprising given the fact that the Introduction to the Audio Unit Programming guide states “Important: This document is no longer being updated. For the latest information about Apple SDKs, visit the documentation website”.
If I simply start XCode and “Create New Project” none of the templates refer to building an audio unit plugin.
After spending more time hunting, I believe I find what you call the CoreAudio SDK under the name Core Audio Utility Classes (see Core Audio Utility Classes and NOT intuitively you have to click on “Download Sample Code”).
It seems to no longer be developed but it contains the code that is being needed by auwrapper.
As a follow up question, I am now able to build the audio unit and can see that there is a link under ~/Library/Audio/Plug-Ins/Components
When I start Logic X nothing happens… meaning my plugin is not added to the list of plugins that Logic loads. There is also no error message anywhere (as in “I tried to load it but error or whatever…”).
I also did copy the plugin (vs a link) just in case but it had no effect…
Any idea what could be wrong?
Yan
PS: In case you are interested you can run an Xcode build from the command line → after generating the Xcode project (cmake -GXcode …) you can simply run
Is that the new repository for the CoreAudioSDK/CoreAudioUltilityClasses?
Unfortunately it has a completely different folder structure, but it seems to have the appropriate base classes for audio units. It would be nice to have the SDK as a git submodule so we could update easier.
I did the same! It seems the CoreAudioUtilityClasses didn’t get an update since 2014. Is it likely that support will be dropped soon?
Is the auv3wrapper also using the CoreAudioUtilityClasses and is auv3 considered stable already? If so, I would consider switching to that.