Materials for the gen~ workshop and presentation at GRAME
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
JGDistort
JGGain
JGRingMod
JUCEPluginTemplate
img
patchers
workshop
README.md
gen-aint-max.key

README.md

gen-workshop

Materials for the gen~ workshop and presentation at GRAME

Building a VST/AU using gen~

In order to build a VST/AU using gen~, a little bit of finesse is required. We make use of the Projucer in order to create an XCode project that builds the appropriate plugin.

  1. Download the Projucer (see https://juce.com).
  2. Copy the folder named JUCEPluginTemplate. Copy this folder any time you would like to build a new VST/AU using gen~. You may rename this folder.
  3. Open the file C74ProjucerGenPlugin.jucer.
  4. Navigate to the Project Settings.

Project Settings Image

  1. Change the Project Name to be whatever you like. This will be the name of the plugin within any host application.

Project Name Image

  1. Change the Plugin Code to be anything unique. You may also change the Plugin Manufacturer Code and Plugin Manufacturer if you like. The only rule is, no two plugins may have the same Plugin Manufacturer Code and Plugin Code. The other only rule is, the Plugin Manufacturer Code and Plugin Code must contain at least one upper-case letter. Apple's own internal plugins may violate this rule, apparently.

Plugin Code Image

  1. Make whatever kind of gen~ patcher your heart desires, according to normal gen~ usage.

  2. Export the gen code. Don't change the exportname attribute. Be sure to export it to the Source folder of your new JUCE project. This where the JUCE project expects it to be (the header search path is configured to look for headers here).

Export Path Image

  1. Build the XCode project in JUCE. This should automatically open the XCode project.

Build JUCE Image

  1. Build the XCode project. Without the VST3 SDK installed, you'll need to build an Audio Unit. This will build the actual component.

Build XCode Image

  1. This will install the component in ~/Library/Audio/Plug-Ins/Components.

  2. If you find that the component is still not registered (you run auval -a from the command line and don't see your component), then there is one thing you can try (I don't understand why this is a solution). Return to JUCE, change the Plugin Code to anything, rebuild the XCode project and rebuild the plugin. Run auval -a again and you should see the plugin under the new name. You can then change the Plugin Code back. I don't know why this is necessary.

  3. That should be everything you need to do to build and install your plugin. From this point on, if you need to change your plugin, you need only export the code from Max and rebuild the plugin in XCode. You need not open JUCE again, unless you want to change the name of the plugin or some other configuration.