Open pac-dev opened 8 years ago
Note this is not currently mergeable because I didn't implement the n-channel code on OSX... and I don't have access to an Mac right now (need to look into that, or get a VM working again since my hard drive with magic OSX VMs died). So I think this branch is currently broken on OSX.
The remaining changes to make should be pretty small but need to be compiled / tested on OSX. juce_AU_Wrapper.mm
needs to be modified in the same way that I modified juce_VST_Wrapper.cpp
.
Allows setting an arbitrary number of input and output channels by copying/renaming the plugin to something like "Lua Protoplug Fx 4in 8out", for example.
This means the Lua API has to be a bit more generic, so the
stereofx
include was replaced withmultiio
, which is mostly drop-in, as you can see from how the example scripts were modified.