Write stereo to 2 out ch in VST gives dual mono


#1

Am working on a vst and have found something strange.
My plug-in generates stereo.

int total_num_channels = buffer.getNumChannels();
int num_input_channels = getNumInputChannels();
int num_output_channels = getNumOutputChannels();

//host info:
//Ableton 7.0 Live VST: 0 inputs, 2 outputs, total num channels = 2
//Ableton Live AU: 0 inputs, 2 outputs, total num channels = 2
//Protools (Stereo Instrument): 2 input, 2 outputs, total num channels = 2
//Protools (Mono Instrument): 1 in, 1 out.
//Digital Performer 5.1: 0 inputs, 2 outputs
//Kore 2.0 VST: 0 inputs, 2 outputs, total num channels = 2

All host work fine except ableton, when I write the stereo channels I get the left channel being mixed somewhere in the wrapper into both output channels (dual mono) ?


#2

Did you implement the AudioProcessor::isOutputChannelStereoPair() method?


#3

Was returning false. And just as I was about to ignore your nice warning comments and start hacking the wrapper :slight_smile:

Thanks for the help!