# Stereo Only Synth

**URL:** <https://forum.juce.com/t/stereo-only-synth/50144>\
**Category:** General JUCE discussion\
**Created:** [February 11, 2022, 11:45pm UTC](https://forum.juce.com/t/stereo-only-synth/50144 "2022-02-11T23:45:07Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Skyleryoung](https://avatars.discourse-cdn.com/v4/letter/s/e99b99/32.png) [@Skyleryoung](https://forum.juce.com/u/Skyleryoung)\
**Post date:** [February 11, 2022, 11:45pm UTC](https://forum.juce.com/t/stereo-only-synth/50144/1 "2022-02-11T23:45:07Z")

</div>

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!

---

<div class="post-metadata">

**Author:** ![kerfuffle](https://sea2.discourse-cdn.com/flex026/user_avatar/forum.juce.com/kerfuffle/32/11805_2.png) [@kerfuffle](https://forum.juce.com/u/kerfuffle)\
**Post date:** [February 12, 2022, 11:46am UTC](https://forum.juce.com/t/stereo-only-synth/50144/2 "2022-02-12T11:46:00Z")

</div>

In your audio processor class:

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

```

There is also a [JUCE tutorial](https://docs.juce.com/master/tutorial_audio_bus_layouts.html) about how to set this up.

---

<div class="post-metadata">

**Author:** ![Skyleryoung](https://avatars.discourse-cdn.com/v4/letter/s/e99b99/32.png) [@Skyleryoung](https://forum.juce.com/u/Skyleryoung)\
**Post date:** [February 18, 2022, 7:52pm UTC](https://forum.juce.com/t/stereo-only-synth/50144/3 "2022-02-18T19:52:06Z")

</div>

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