January 29, 2017
First, download the RafxToAUWrap code here:
This is a super-thin wrapper for OSX 10.7 and higher. If you want the 10.6 version, let me know. My advice is to bring yourself into 2014!
This project is a simple volume-in-dB plugin from Chapter 2 with a string-list variable added (Mute = OFF or ON) to show you how to setup the two basic types of controls that most projects all share. Details are in the following posts.
Open the project in XCode and note the following File Groups:
RackAFX Plugin: this is where you will spend most of your time. It contains the .h and .cpp files that the book references. Instead of having RackAFX generate these for you, use these as a template to copy/paste and generate new C++ objects.
CoreAudio: the Core Audio files - you can safely ignore them
AU Source: this contains the AU object that wraps the RAFX object in the previous file group. It also contains a special file RaxkAFX2AUFilter.r which you need to edit for backwards compatibility with Logic 9
Resources: this contains the Info.plist file that you will need to edit for each new plugin you create
NOTE: this wrapper does not include a Cocoa GUI for simplicity's sake. In addition, you need to know Cocoa programming in Objective-C to understand it, and many people don't/won't learn it. I will post another AU plugin wrapper that uses VSTGUI4 later in January so you can see how to code a nice looking GUI - this is also something you need to do by hand since RackAFX's GUI designer creates the GUI without any coding at all!
Next Topic: declaring and initializing RAFX variables
Most Users Ever Online: 36
Currently Browsing this Page:
Guest Posters: 1
Newest Members:CoraDias, Edoardo, knooierd, daniel, Merril Bradshaw, BillPlunkett, Pajczur, michaelwayneharwood, RickM, rainbow wind
Moderators: W Pirkle: 187
Administrators: Tom: 66, JD Young: 80, Will Pirkle: 0, W Pirkle: 187