calf
calf copied to clipboard
Monosynth cannot receive on MIDI Channel 1 only
Setting Monosynth's "MIDI Channel" parameter to 0 enables omni-mode, i.e. it will respond to any MIDI channel. Setting it to a value 1..15 will restrict response to MIDI channel 2..16. Setting to 16 disables MIDI input.
This is because the MIDI channel is checked for zero (*params[par_midi]
) for omni-mode and then checked against the zero-based value of its MIDI Channel parameter (channel != *params[par_midi]
). It should be checked against an offset value, e.g.
if (*params[par_midi] && channel + 1 != *params[par_midi]) return;
This should then give the behaviour that setting the MIDI Channel parameter to zero enables omni-mode and setting to a value 1..16 constrains response to the corresponding MIDI channel.