AudioUnitBuilder is an utility class to build custom Audio Unit plugins using SuperColliderAU.
To try it, first download and compile SuperColliderAU from https://github.com/supercollider/SuperColliderAU.
AudioUnitBuilder needs Rez to compile the resource used by the Component Manager API to identify the plugin.
Rez is installed by the Developer Tools so you must have them installed to use this class.
It is recommended that you get familiar with the pluginSpec.plist and the serverConfig.plist files, even if this class creates them for you. They are very simple XML files.
Example:
If all goes well your plugin should appear in any AudioUnits host. The specs array no longer creates SuperCollider Specs. Instead, it is now possible to use the mappings provided by the AudioUnits framework for parameter display. Each entry in the specs array should be an array like this: [min, max, display style, default value, unit]. Here is the mapping for display styles:
Note that these work the other way around than Spec, eg. use \Logarithmic where you would use \exp in SuperCollier.
Here is the mapping for units:
No check is done that you provide suitable numerical values. Use at your own risk.