Building Mac SEMs

Install the SDK

1. Download the SynthEdit SDK to your Mac. You may need to unzip the files on a PC first (my mac seemed to not extract the folders correctly).

2. Put the SDK files in a local folder. I put them in my documents folder, under "My Modules".

Verify the SDK install

1. Open the Inverter project in XCode (Inverter/mac/Module.xcodeproj).

2.  Build the project. If you get errors about not having permission to create folders, you will need to set the mac folder to read-write permission for this folder. allow every user read and write permissions. Ensure the Build succeded with no issues, otherwise post the errors to the SynthEdit SDK mailing list.

To build your own module on Mac.

Mac modules are built using "Xcode" the Mac development environment. You will need to create an xcode project for your SEM specifying which files to build. Your SEM project may already contain a "mac" folder containing a template xcode project, if not reuse one from another SEM. You can copy the contents of the Inverter's 'mac' folder to your module project's folder.

1. Open the xcode project from your project folder, 'Module.xcodeproj'. You should see an indication that xcode can't locate 'inverter.cpp', 'inverter.h', and 'inverter.xml.h' (colored red). Delete these from the project.

2. Add you own project files to the 'Source' folder of the project. e.g. 'mygain.cpp', 'mygain.h'.

3. Open the Build Settings. e.g. right-click on the 'Target' 'SE Module' and choose 'Get info', then 'Build'.

4. Search for setting 'Product Name' and change it from 'Inverter' to your module's name. Close the build settings.

5. Build the project, your SEM should be in the mac/Build/Debug folder (or the mac/Build/Release folder depending on what target you built). You may also see the Inverter SEM in there (because it got copied with the xcode project file), you can delete that.

To use your module in a Mac VST3 plugin

Copy your Mac SEM back to you Windows system. It goes in:

C:\Program Files\SynthEdit 1.2\mac_assets\modules\

 Now when you Export a VST3 plugin, SynthEdit will include your Mac module in the bundle. (the exported Mac VST3 plugin should be in your Documents folder, i.e. "...\Documents\SynthEdit Projects\Mac Export\".