Skip to content

Latest commit

 

History

History
23 lines (15 loc) · 1.74 KB

Howto-Compile.md

File metadata and controls

23 lines (15 loc) · 1.74 KB

Juce - LibPd Demo Project

This is a barebone juce project that utilizes libpd to be able to use pure data as the sound engine for juce audio plugins.

Although this howto focuses on OSX specific development, you should be able to create Windows and Linux plugins as well. Clone this project, open the introjucer, add a new VisualStudio or Linux Makefile target by right clicking on JucePureData.

###JUCE Installation: Make sure your setup is ready to produce VST and/or AudioUnit plugins. If it's not, follow the instructions at the JUCE plugin setup tutorial.

###LibPD Installation LibPD is already included. However, if want to produce 64bit plugins, you need to compile it for the correct architecture and replace the libpd-osx.a file in the projects "libpd" folder.

###Setting up the Project

#####VST creation Note, that you need to set the path of the vst sdk by clicking on the target Xcode (MacOSX) and enter the path. If the vst path field is missing, it means, that one or more audio plugin specific modules have not been added. Click on modules and add all audio modules.

#####Patchfile After you successfully compiled it, you should get a Juce Assertion failure, because the patch file cant be loaded - here you need to enter the correct path to the patch file. Since this is a runtime variable, it has to be an absolute path.

#####Debugging In Xcode edit you "Run Debug" scheme and enter your DAW you are testing with as Executable. You can also use Juce PluginHost app from the juce examples folder. Remember that the DAW software might not find your plugin if it's compiled for an unsuitable architecture.