How to get VST 5.1 channel support?


#1

Hi,

I’m using Xcode4.1 on OS X Lion and I wanna know how to get 5.1 channel support with my VST Plugin. Because: if I set preferred channels to {1,1} {2,2} up to {5,5} the VST plugin will listet as “Other” instead of Mono, Stereo, 5.1 and so on. But if this plugin was set as “other” it does not work… How can I set it up right?

My Plugin Host is Adobe Audition for testing purposes.
I also set the number of maximum incoming and outgoing channels to 5.

Here is the code of the JucePluginCharacteristics.h file:

#define JucePlugin_Build_VST    1  // (If you change this value, you'll also need to re-export the projects using the Jucer)
#define JucePlugin_Build_AU     0  // (If you change this value, you'll also need to re-export the projects using the Jucer)
#define JucePlugin_Build_RTAS   0  // (If you change this value, you'll also need to re-export the projects using the Jucer)

#define JucePlugin_Name                 "Name"
#define JucePlugin_Desc                 "Description"
#define JucePlugin_Manufacturer         "Manufacturer"
#define JucePlugin_ManufacturerCode     'Manu'
#define JucePlugin_PluginCode           'Plug'
#define JucePlugin_MaxNumInputChannels  5
#define JucePlugin_MaxNumOutputChannels 5
#define JucePlugin_PreferredChannelConfigurations   {1, 1}, {2, 2}, {5, 5} 
#define JucePlugin_IsSynth              0
#define JucePlugin_WantsMidiInput       0
#define JucePlugin_ProducesMidiOutput   0
#define JucePlugin_SilenceInProducesSilenceOut  0
#define JucePlugin_TailLengthSeconds    0
#define JucePlugin_EditorRequiresKeyboardFocus  0
#define JucePlugin_VersionCode          0x10000
#define JucePlugin_VersionString        "1.0.0"
#define JucePlugin_VSTUniqueID          JucePlugin_PluginCode
#define JucePlugin_VSTCategory          kPlugCategEffect
#define JucePlugin_AUMainType           kAudioUnitType_Effect
#define JucePlugin_AUSubType            JucePlugin_PluginCode
#define JucePlugin_AUExportPrefix       JuceProjectAU
#define JucePlugin_AUExportPrefixQuoted "JuceProjectAU"
#define JucePlugin_AUManufacturerCode   JucePlugin_ManufacturerCode
#define JucePlugin_CFBundleIdentifier   de.tu-dresden.SweetSpotter
#define JucePlugin_AUCocoaViewClassName JuceProjectAU_V1
#define JucePlugin_RTASCategory         ePlugInCategory_None
#define JucePlugin_RTASManufacturerCode JucePlugin_ManufacturerCode
#define JucePlugin_RTASProductId        JucePlugin_PluginCode
#define JUCE_USE_VSTSDK_2_4             1

Thanks for help! :slight_smile:


#2

Sounds like it’s the host that’s not handling it very well - the plugin should report its capabilities correctly. Have you compared it with another host?


#3

not sure if this is the main problem but the 5.1 format uses 6 channels ( 5 + LFE )


#4

That’s right. I forgot the +1 in the channel configuration. But it could be that the VST Plugin does not show up more than the built in channels. I will test this on an other mac…