I am building a Juce (“instrument”) plug-in with 32 outputs as a:
[list]PC VST
MAC VST
AU[/list]
The PC and MAC VST versions of the plug-in load fine in Cubase on both MAC and PC – all 32 outputs can be seen in the host.
The AU on the other hand only comes up as having only 2 output channels in Logic 8.
Attempted the following Characteristics.
JucePluginCharacteristics.h
...
#define JucePlugin_MaxNumInputChannels 0
#define JucePlugin_MaxNumOutputChannels 32
/**
AU and RTAS hosts will use this information,
*/
#define JucePlugin_PreferredChannelConfigurations {0, 2}, { 0, 32 }
#define JucePlugin_IsSynth 1
...
#define JucePlugin_MaxNumInputChannels 0
#define JucePlugin_MaxNumOutputChannels 32
/**
AU and RTAS hosts will use this information,
*/
#define JucePlugin_PreferredChannelConfigurations { 0, 32 }
#define JucePlugin_IsSynth 1
Well that’s the number that the plugin reports to the host… You can see it used in the SupportedNumChannels method in the wrapper code. Can’t think why logic would ignore it…
Also, for a test I just tried making a basic “Xcode” Audio Unit Instrument Component example project to see if its even possible to make a 32 output channel inst.
Has anyone come across a solution to this problem yet?
The same is currently happening for me when trying to open my 16-output AU in Logic Pro 9; only the mono and stereo output options are available whereas in Ableton Live all the outputs are available.
I have tried Logic Pro in both 32 and 64 bit mode.
Some findings from further testing regarding this issue -
Logic will always state that the plugin is available in mono or stereo no matter what JucePlugin_PreferredChannelConfigurations you provide, nothing more or nothing less.
If you don’t provide either of the {0, 1} or {0, 2} combinations and select mono or stereo Logic will show with the following error:
[quote]Failed to load Audio Unit [plugin name], please contact the manufacturer for an updated version or further assistance.[/quote].
So it seems like Logic uses the JucePlugin_PreferredChannelConfigurations values for the back-end but not for the GUI side of things.
Hi all,
I have multi output working on my AU for quiet a long time now.
The problem is I don’t remember exactly what to do :(. This thread was very useful.
I can share my wrapper code if needed, but this use a very old JUCE version (1.51).
[quote=“ke20”]Hi all,
I have multi output working on my AU for quiet a long time now.
The problem is I don’t remember exactly what to do :(. This thread was very useful.
I can share my wrapper code if needed, but this use a very old JUCE version (1.51).
Kevin[/quote]
That will be very helpful. Can you send me a copy?