Compiled the develop branch today (14/june).
Upon adding the newest channel layouts ambisonics(4) (5) (6) (7), when I load the plugin in Reaper (latest version), it doesn’t go past stereo (it ignores the ambisonics(1) (2) and (3) that my plugin already dealt with)…
The Ambisonics 4,5,6,7 channel layouts prevent my plugin from going beyond stereo.
If I delete the (4) (5) (6) (7) and leave only (1) (2) (3), the plugin works, and I can go with no problem to 16 channels, once I add 4, 5, 6, 7, it just stays in stereo…
In Pro Tools, Ambisonics layouts 1 through 7 work correctly.
----- update
Just tried with another test… problem persists.
The way I am setting up is, in my getDefaultLayout()
return BusesProperties().withInput("Input", juce::AudioChannelSet::stereo() true)
.withOutput("Output", juce::AudioChannelSet::stereo(),true);
And then, in the isBusesLayoutSupported, I have:
if (
layouts.getMainOutputChannelSet() != juce::AudioChannelSet::stereo()
&& layouts.getMainOutputChannelSet() != juce::AudioChannelSet::ambisonic(1)
&& layouts.getMainOutputChannelSet() != juce::AudioChannelSet::ambisonic(2)
&& layouts.getMainOutputChannelSet() != juce::AudioChannelSet::ambisonic(3)
&& layouts.getMainOutputChannelSet() != juce::AudioChannelSet::ambisonic(4)
&& layouts.getMainOutputChannelSet() != juce::AudioChannelSet::ambisonic(5)
&& layouts.getMainOutputChannelSet() != juce::AudioChannelSet::ambisonic(6)
&& layouts.getMainOutputChannelSet() != juce::AudioChannelSet::ambisonic(7)
)
{
return false;
}
if (
layouts.getMainInputChannelSet() != juce::AudioChannelSet::stereo()
&& layouts.getMainInputChannelSet() != juce::AudioChannelSet::ambisonic(1)
&& layouts.getMainInputChannelSet() != juce::AudioChannelSet::ambisonic(2)
&& layouts.getMainInputChannelSet() != juce::AudioChannelSet::ambisonic(3)
&& layouts.getMainInputChannelSet() != juce::AudioChannelSet::ambisonic(4)
&& layouts.getMainInputChannelSet() != juce::AudioChannelSet::ambisonic(5)
&& layouts.getMainInputChannelSet() != juce::AudioChannelSet::ambisonic(6)
&& layouts.getMainInputChannelSet() != juce::AudioChannelSet::ambisonic(7)
)
{
return false;
}
}
return true;
If I comment out the ambisonics 4, 5, 6, 7, the plugin properly expands through stereo, ambisonics 1, 2 and 3.
If I leave the 4, 5, 6, and 7, the plugin is stuck in stereo until ambisonics(7)… so ambisonics 1,2,3,4,5,6 remain with a stereo in/out