Stereo Only Synth

I feel like this should be super easy but for some reason haven’t figured it out haha.

I am developing a synth plugin. I only want it to be used in stereo. The AU and AAX (have not tested vst yet) versions currently have options to open the plugin in mono. But I dont want the user to be able to open a mono version. How do I fix this?

Thanks so much!

In your audio processor class:

bool MyAudioProcessor::isBusesLayoutSupported(const BusesLayout &layouts) const
{
  return layouts.getMainOutputChannelSet() == juce::AudioChannelSet::stereo();
}

There is also a JUCE tutorial about how to set this up.

1 Like

Thank you! I had tried this but I guess I didn’t rescan my plugins correctly cause it didn’t change things, thanks!