From a73d9f718285943a5712661b2a2ceee8d3f1e58a Mon Sep 17 00:00:00 2001 From: logsol Date: Thu, 20 Aug 2015 18:52:29 +0200 Subject: [PATCH] externalised compile howto --- Howto-Compile.md | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 Howto-Compile.md diff --git a/Howto-Compile.md b/Howto-Compile.md new file mode 100644 index 0000000..5dbc7b5 --- /dev/null +++ b/Howto-Compile.md @@ -0,0 +1,23 @@ +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](http://www.juce.com/learn/tutorials-code-examples/create-basic-audio-midi-plugin-part-1-setting-up). + +###LibPD Installation +[LibPD](https://github.com/libpd/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.