-
Notifications
You must be signed in to change notification settings - Fork 261
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Change channel limit from 2 to 32. #228
base: master
Are you sure you want to change the base?
Conversation
Hi @kleblackford! Thanks for this - especially including a JUCE plugin to test with! I have one architectural concern here: Pedalboard allows users to to pass any shape of input buffer ( I think the way around this would be to modify the Let me know if you're comfortable attempting to make this change - I'm happy to give it a try over the next week or two if it helps. (And please do share the JUCE projects used to generate this test plugin; I'd love to compile versions for macOS and Linux as well, and would help avoid including a 12MB un-auditable binary blob in the repo.) |
Hi @psobot, I see what you mean there. So what would need implementing is a check that for a maximum channel count In the latest commits, I added a JUCE project which can be used to create simple unity gain plug-ins. The two lines here can be changed to modify number the channels. I could also create some simple multiplexer plugin projects which would be useful for testing solutions for #138. In the last commits, I also made some modifications for the tests to pass. In these, some of the tests which are not relevant in the case of the unity gain plugin are skipped. The 32 channel unity gain plugin test has also been refactored/corrected. |
Correct, yes! The maximum channel count should come from the first plugin being used for rendering. |
@kleblackford — would you expect this branch to work on array2sh from SPARTA? https://leomccormack.github.io/sparta-site/ I have tried using this branch to encode raw eigenmike32 data into FOA format using the array2sh VST3. For some reason I am running into issues:
|
@adrianSRoman - call the plugin without the num_channels argument (this is determined automatically from the input signal) - eg. See the test here for an example of how to call a 32 channel in/out plugin. |
Implementation of the changes recommended in #97 to enable the use of plug-ins with more than 2 channels.
A limit of 32 channels is chosen as for plug-ins with more than 36 input/output channels, the bus sizes are recognised incorrectly. The JUCE projects used to create the effects plug-ins used to test these changes can be provided if needed.
A 32 channel unity gain effect plug-in was created and added to the test effect plug-ins folder.
A basic test for the unity gain plug-in is also implemented.