In the last 6 months I built a few JUCE plugins …
I am trying to embed a simple PYO application into JUCE without a great deal of luck.
I am using Xcode 9.1
JUCE version 5.2.0
I followed these instructions
I had to create the files and then drag them into the source folder of the projucer project before adding them otherwise Xcode had trouble finding the header files in the #include statements.
I also had to be careful not to compile or create binaries for files that didn’t need that.
Prepare to play looks like this
pyo.setup(getTotalNumOutputChannels(), samplesPerBlock, sampleRate);
getNumOutputChannels() is depreciated in JUCE
I also left these lines in the process block from the file JUCE created
const int totalNumInputChannels = getTotalNumInputChannels();
const int totalNumOutputChannels = getTotalNumOutputChannels();
At this point I have a number of linker errors like :
Undefined symbols for architecture x86_64:
“_PyEval_AcquireLock”, referenced from:
_pyo_new_interpreter in libWayloChorus6.a(PyoClass-49E47892F43FB590.o)
I suspect it’s a matter of adding the correct linker paths from the xcode project to
I spent a lot of time on it today …
Bed time now.
Perhaps someone else has some thoughts here.
It would be nice to get this all to work properly and work towards making a VST with PYO .
If anyone has had any luck linking JUCE and python with Xcode let me know thanks