DBraun / TD-JUCE

JUCE audio and VSTs in TouchDesigner
Other
36 stars 3 forks source link

Support VST3 effects with secondary inputs #6

Open DBraun opened 3 years ago

DBraun commented 3 years ago

This is something I already addressed in DawDreamer. In VST3 instruments that have secondary inputs, myPlugin->processBlock must receive a buffer that has 4 channels (a stereo pair for each of the two inputs). For example, the second input can be the signal for sidechain compression. You can't pass 2 channels. Instead you'd just put zeros in the third and fourth channels.