pac-dev / protoplug

Create audio plugins on-the-fly with LuaJIT.
Other
285 stars 36 forks source link

n-channel #14

Open pac-dev opened 8 years ago

pac-dev commented 8 years ago

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 with multiio, which is mostly drop-in, as you can see from how the example scripts were modified.

pac-dev commented 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.