Can a instrument have multiple audio output channels?
-
I‘m thinking about building a simple sampler. But a important feature would be to have up to 4 stereo outputs. Is this possible with HISE?
-
@Frankbeat yes
-
Is it ```
Settings.setOutputChannel(int index)for each one I want to have?
-
Add these to your project's extra definitions
ENABLE_ALL_PEAK_METERS=1 HISE_NUM_PLUGIN_CHANNELS=6
Replace
6
with the number of mono channels you want (they will be stereo pairs).I have some videos on my YouTube channel about making a microphone mixer that you might find useful.
-
@d-healey Oh, cool! I‘m gonna watch that video today, thanks!
-
Actually you don't need to set this preprocessor, it should grab it from the number of channels of the master container.
-
Hmm… I'm still having trouble with this.
I have two Samplers: Bass Drum and Snare Drum, each of them routed to one stereo out on the master container like this:
And I addedENABLE_ALL_PEAK_METERS=1 HISE_NUM_PLUGIN_CHANNELS=4
Within HISE (standalone) its working all fine, just as in David's video on making the mix mixer.
However, when I load the plugin (.vst3) into a VST instrument slot in Cubase, both channel pairs are available:
But channels 3+4 are not putting out sound (and peak meters stay empty), so my Snare Drum is not playing back.What am I missing? Is there some Projucer settings I might need to check?