1 Input, 2 Output AudioUnit Plug-In


#1

When I build the demo plugin and use the AU version in REAPER on a mono track, I only hear the delay in the left channel even though I hear the original audio in both stereo channels (pan at 12:00). Apparently REAPER would prefer a 1x2 AU channel configuration. The VST works fine.

 

 #define JucePlugin_PreferredChannelConfigurations  {1, 1}, {2, 2}

Plugins built with this definition, when run in REAPER:

    AudioProcessor::getNumInputChannels() == 1

    AudioProcessor::getNumOutputChannels() == 1

Result: no processed audio in the right channel ( because there's no #2 output? )

 

 #define JucePlugin_PreferredChannelConfigurations  {2, 2}, {1, 1}

Plugins built with this definition, when run in REAPER:

    AudioProcessor::getNumInputChannels() == 2

    AudioProcessor::getNumOutputChannels() == 2

Result: no processed audio in the right channel ( because there's no #2 input? )

 

 #define JucePlugin_PreferredChannelConfigurations  {1, 2}

Plugins built with this definition, when run in REAPER:

    AudioProcessor::getNumInputChannels() == 1

    AudioProcessor::getNumOutputChannels() == 2

Result: no processed audio in the right channel ( because there's no #2 input? )

Apparently,  JUCE is using the input buffers for storing audio routed to the outputs, so if there's no input there can't be any output.

 

Is there a solution to this problem  ?


#2

i just spottet a similar issue, looks like Reaper doesn't handle multiple I/O configurations right