# Mono/stereo AU problems in Studio One

**URL:** <https://forum.juce.com/t/mono-stereo-au-problems-in-studio-one/12948>\
**Category:** Audio Plugins\
**Created:** [June 3, 2014, 2:53pm UTC](https://forum.juce.com/t/mono-stereo-au-problems-in-studio-one/12948 "2014-06-03T14:53:40Z")\
**Posts on this page:** 11\
**Page:** 1

<div class="post-metadata">

**Author:** ![JoeBarker](https://avatars.discourse-cdn.com/v4/letter/j/e95f7d/32.png) [@JoeBarker](https://forum.juce.com/u/JoeBarker)\
**Post date:** [June 3, 2014, 2:53pm UTC](https://forum.juce.com/t/mono-stereo-au-problems-in-studio-one/12948/1 "2014-06-03T14:53:40Z")

</div>

I'm nearing completion of my plugin but I've run in to a problem when testing in Presonus Studio One (on Mac).

Specifically the problem is that the AU version of the plugin always opens in stereo mode whether the underlying track is stereo or mono. In the case of a mono track, I've confirmed that the second input channel that I recieve in processBlock() is garbage data.

I'm currently using "{2, 2}, {1, 1}" for _JucePlugin\_PreferredChannelConfigurations_.

If I use "{1, 1}, {2, 2}" then the AU version always loads as mono. If I comment out the SetStreamFormat code (lines 180-188 in juce\_AU\_Wrapper.mm) then it returns to always being stereo.

The VST (2.4) version of the plugin runs correctly (i.e. mono tracks -\> mono mode, etc).

Is this a bug in Studio One and should I advise my users to not use the AU version in it? Or can anyone advise me on some other way to fix this behavior?

Thanks, -Joe Barker

&nbsp;

---

<div class="post-metadata">

**Author:** ![aaron](https://avatars.discourse-cdn.com/v4/letter/a/e19adc/32.png) [@aaron](https://forum.juce.com/u/aaron)\
**Post date:** [September 25, 2014, 11:59pm UTC](https://forum.juce.com/t/mono-stereo-au-problems-in-studio-one/12948/2 "2014-09-25T23:59:00Z")

</div>

We have the exact same problem here. &nbsp; In Studio One 2.6.3 Build 27792 on Mac, I cannot get both Stereo and Mono Audio Units to work at the same time on the corresponding stereo/mono tracks. &nbsp;I can only get one or the other to work. That is, the&nbsp;only way I can get a Mono AU in Studio One is to reverse the order of&nbsp;JucePlugin\_PreferredChannelConfigurations, but then I \_only\_ get Mono and cannot get Stereo. &nbsp;It seems to only pick the first configuration in the list.&nbsp;&nbsp;&nbsp;By contrast, instantiating a&nbsp;Stereo and a&nbsp;Mono VST or&nbsp;VST3 in the same situation is&nbsp;no problem. &nbsp;

Any thoughts on how to correct this?&nbsp;

&nbsp;

Thanks,

Aaron

---

<div class="post-metadata">

**Author:** ![jules](https://avatars.discourse-cdn.com/v4/letter/j/41988e/32.png) [@jules](https://forum.juce.com/u/jules)\
**Post date:** [September 27, 2014, 8:21am UTC](https://forum.juce.com/t/mono-stereo-au-problems-in-studio-one/12948/3 "2014-09-27T08:21:44Z")

</div>

Sounds more like a question for the Studio One guys.. I can't think of anything I could change in the plugin that would affect the way it makes that choice.

---

<div class="post-metadata">

**Author:** ![FullCode](https://avatars.discourse-cdn.com/v4/letter/f/41988e/32.png) [@FullCode](https://forum.juce.com/u/FullCode)\
**Post date:** [September 29, 2014, 7:35pm UTC](https://forum.juce.com/t/mono-stereo-au-problems-in-studio-one/12948/4 "2014-09-29T19:35:45Z")

</div>

I forwarded this thread to a contact I have at Presonus, who is a developer for Studio One, and he said:

> thanks for letting me know. We are looking into it and want to fix the bug with an Studio One update.  
> &nbsp;

---

<div class="post-metadata">

**Author:** ![sstillwell](https://avatars.discourse-cdn.com/v4/letter/s/f04885/32.png) [@sstillwell](https://forum.juce.com/u/sstillwell)\
**Post date:** [December 4, 2015, 6:58pm UTC](https://forum.juce.com/t/mono-stereo-au-problems-in-studio-one/12948/5 "2015-12-04T18:58:00Z")

</div>

Tinkering around with JUCE and noticed the exact opposite problem when building a trivial sample plugin created via Introjucer. &nbsp;AU and VST work fine, but VST3 comes up as mono in REAPER (v5.1) and only plays the left channel. &nbsp; &nbsp;Doesn't matter whether I set the preferred buses as {1, 1}, {2, 2} or {2, 2}, {1, 1}. using latest commit as of yesterday (3 Dec 15).

Using the test host and explicitly wiring the inputs and outputs works as expected.

Also, using Cubase 7.4 works as expected.

I'll also contact the folks at Cockos.

---

<div class="post-metadata">

**Author:** ![jules](https://avatars.discourse-cdn.com/v4/letter/j/41988e/32.png) [@jules](https://forum.juce.com/u/jules)\
**Post date:** [December 5, 2015, 1:06pm UTC](https://forum.juce.com/t/mono-stereo-au-problems-in-studio-one/12948/6 "2015-12-05T13:06:00Z")

</div>

Don't spend too long on this, as we'll be releasing the all-new multi-bus support imminently!

---

<div class="post-metadata">

**Author:** ![chkn](https://sea2.discourse-cdn.com/flex026/user_avatar/forum.juce.com/chkn/32/3862_2.png) [@chkn](https://forum.juce.com/u/chkn)\
**Post date:** [December 5, 2015, 1:41pm UTC](https://forum.juce.com/t/mono-stereo-au-problems-in-studio-one/12948/7 "2015-12-05T13:41:05Z")

</div>

Hopefully this will not result in lots of new troubles, i fear.

I already spent so much time in fixing multi-channel plugin troubles ( With a lot of host-specific adjustments (isLogic/isWavelab etc..))

Please make extensive Tests in Logic/Cubase/ProTools/Reaper/Wavelab/Live/Tracktion&nbsp;etc... before you release the code.

&nbsp;

&nbsp;

---

<div class="post-metadata">

**Author:** ![jules](https://avatars.discourse-cdn.com/v4/letter/j/41988e/32.png) [@jules](https://forum.juce.com/u/jules)\
**Post date:** [December 5, 2015, 1:58pm UTC](https://forum.juce.com/t/mono-stereo-au-problems-in-studio-one/12948/8 "2015-12-05T13:58:25Z")

</div>

Yes, we'll obviously be testing on as many combinations as we can, but since there are many thousands of permutations, we won't be able to cover them all!&nbsp;

You can try it yourself if you're interested, we have a temporary repo for it&nbsp;here:

https://github.com/hogliux/JUCE

It's still under development for some plugin types, but the API is complete.

---

<div class="post-metadata">

**Author:** ![sstillwell](https://avatars.discourse-cdn.com/v4/letter/s/f04885/32.png) [@sstillwell](https://forum.juce.com/u/sstillwell)\
**Post date:** [December 6, 2015, 2:45am UTC](https://forum.juce.com/t/mono-stereo-au-problems-in-studio-one/12948/9 "2015-12-06T02:45:21Z")

</div>

Fair enough - it works enough for me to do what I NEED to do at the moment (play with some DSP internally). &nbsp;I'll keep an eye out for new commits before taking things any further.

---

<div class="post-metadata">

**Author:** ![sstillwell](https://avatars.discourse-cdn.com/v4/letter/s/f04885/32.png) [@sstillwell](https://forum.juce.com/u/sstillwell)\
**Post date:** [December 6, 2015, 3:41am UTC](https://forum.juce.com/t/mono-stereo-au-problems-in-studio-one/12948/10 "2015-12-06T03:41:15Z")

</div>

Yep, the beta version you linked above does fix the issue with no source changes on my end. &nbsp;Bravo! :)

---

<div class="post-metadata">

**Author:** ![chkn](https://sea2.discourse-cdn.com/flex026/user_avatar/forum.juce.com/chkn/32/3862_2.png) [@chkn](https://forum.juce.com/u/chkn)\
**Post date:** [December 7, 2015, 7:02pm UTC](https://forum.juce.com/t/mono-stereo-au-problems-in-studio-one/12948/11 "2015-12-07T19:02:08Z")

</div>

Please also check Multi-channel behavior like (for surround)&nbsp;

{1,1},{1,2},{2, 2},{2,5},{2,6},{3,3},{4,4},{5,5},{6,6},{7,7},{8,8},{9,9},{10,10},{11,11},{12,12},{13,13},{14,14},{15,15},{16,16}

and

{1, 1}, {1, 2},{1, 3}, {1, 4},{1, 5}, {1, 6},{1, 7}, {1, 8},{2, 1}, {2, 2},{2, 3}, {2, 4},{2, 5}, {2, 6},{2, 7}, {2, 8},{3, 1}, {3, 2},{3, 3}, {3, 4},{3, 5}, {3, 6},{3, 7}, {3, 8},{4, 1}, {4, 2},{4, 3}, {4, 4},{4, 5}, {4, 6},{4, 7}, {4, 8},{5, 1}, {5, 2},{5, 3}, {5, 4},{5, 5}, {5, 6},{5, 7}, {5, 8},{6, 1}, {6, 2},{6, 3}, {6, 4},{6, 5}, {6, 6},{6, 7}, {6, 8},{7, 1}, {7, 2},{7, 3}, {7, 4},{7, 5}, {7, 6},{7, 7}, {7, 8},{8, 1}, {8, 2},{8, 3}, {8, 4},{8, 5}, {8, 6},{8, 7}, {8, 8}

&nbsp;

&nbsp;
