Multi outputs in FX plugin ?
I'm trying to export a multi-channel output FX plugin. I'm using the plugin version of HISE and I get as many channels as I need.
The outputs appear in the DAW when I'm in HISE but they don't when using the compiled plugin.
Is a multi-out FX even possible ? Am I missing something ?
Dan Korneff last edited by
@Matt_SF I belive that only the stereo output is available on FX plugins.
@Dan-Korneff Ah ok, thank you Dan.
@Christoph-Hart Is Multi-Out FX something conceivable in the future or is it really dead ?
@Christoph-Hart just bumping this one. I just need to know if that would be a possibility in the future, to plan my next move
Christoph Hart last edited by
Alright, since this request has been coming up so often along with its friend, the sidechain one, I've added this as option:
This will not work automatically though (because many existing plugin projects are using multiple channels in their master container so the existing logic of the instruments where it just looks for the amount of channels in the master container's routing matrix and set
HISE_NUM_PLUGIN_CHANNELSto this number would break them.
So that means if you want to use multiple channels in the FX plugin, you need to define a
HISE_NUM_FX_PLUGIN_CHANNELSpreprocessor like described here:
/** This is the amount of channels that your FX plugin will process. This might be different from the amount of total channels that is automatically calculated from the master container's routing matrix and stored into HISE_NUM_PLUGIN_CHANNELS (because this might affect existing projects). So if you want to use a FX with more than one stereo input, you need to define ``` HISE_NUM_FX_PLUGIN_CHANNELS=X ``` in your ExtraDefinitions. Be aware that this number must be greater or equal than the actual channel count of the master container's routing matrix (which will still be stored into HISE_NUM_PLUGIN_CHANNELS). This still lets you use "hidden" internal stereo pairs by choosing a number that is smaller than the routing matrix, so if you eg. want a 6 channel plugin but use an additional stereo pair for internal processing, you can set the routing matrix to use 8 channels, set HISE_NUM_FX_PLUGIN_CHANNELS to 6 and use the last stereo pair for the internal processing while the plugin only shows the first 6 in the DAW. */ #ifndef HISE_NUM_FX_PLUGIN_CHANNELS #define HISE_NUM_FX_PLUGIN_CHANNELS 2 #endif
I've added a example project to the tutorials with a sidechain compressor and reverb / delay channels - sidechaining magically works and takes the 3/4 input pair as sidechain input.
Feel free to test it on different hosts, but the sidechaining works in Ableton and REAPER and that's as far as my lazy ass went with testing...
@Christoph-Hart thank you very much! You're awesome !
lalalandsynth last edited by