Skip to content

Commit

Permalink
externalised compile howto
Browse files Browse the repository at this point in the history
  • Loading branch information
logsol committed Aug 20, 2015
1 parent bdbfb42 commit a73d9f7
Showing 1 changed file with 23 additions and 0 deletions.
23 changes: 23 additions & 0 deletions 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.

0 comments on commit a73d9f7

Please sign in to comment.