Number of MIDI input channels hard coded

midi

#1

We found that the latest version of our plugins accept 16 MIDI input channels, that was not the case with olders builds. Looking into the VST2 wrapper of JUCE I found out that the number of MIDI in/out channels is hard coded to 16:

pointer_sized_int handleGetNumMidiInputChannels()
{
   #if JucePlugin_WantsMidiInput || JucePlugin_IsMidiEffect
    return 16;
   #else
    return 0;
   #endif
}

pointer_sized_int handleGetNumMidiOutputChannels()
{
   #if JucePlugin_ProducesMidiOutput || JucePlugin_IsMidiEffect
    return 16;
   #else
    return 0;
   #endif
}

For our plugins, we think that is quite confusing for the user to show 16 MIDI inputs (for example in Ableton Live that gives a huge long list of MIDI inputs…), as our plugins only require a single MIDI input.

Capture_2

JUCE team, could you please consider to make the channel count adjustable?


#2

It looks like this is required for multi-MIDI VSTs in Live, see this thread.


#3

Hi, yes I remember when asking fir this change to be made. I guess there is def a case fir this being configurable tho.


#4

The number of MIDI inputs should definitely be configurable to provide a good user experience.

Right now, if we’d have for esample 3 plugins on that channel that’d show 48 MIDI ins… that’d definitely be very ugly + confusing to the user, so I’d appreciate it a lot if we could configure that number.


#5

JUCE team, will we see this happen, that the number of MIDI Input Channels can be defined?


#6

It’s on the to-do list but I’m afraid I can’t give a more specific timeline.


#7

#8

Wonderful - thank you a lot!