You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This would be to support filtering MIDI events by channel for each jack mapping.
Rough TODO list:
The MIDI channel would need to be baked into the patch format.
The jack ID is a uint16_t, and MIDI jacks occupy 0x100 - 0x500 currently, which is All Channels (aka Omni mode). We could use the top four bits to indicate channel, and have the fifth bit set to indicate channel filtering? So 0x0900 - 0x0E00 would be channel 0, up to 0xF900 - 0xFE00 would be channel 16.
I believe this would be the same for MIDI param mappings (check this?)
Or, we could add a new field to all mappings as a sibling to the jack_id/param_id. This would cause more refactoring.
The VCV Hub would need to decipher what MIDI channel each MIDI module is set to and put that into the patch file.
Controls would need to pass along the MIDI channel to the audio stream (trivial change)
Patch Player would need to keep track of the channels allowed for each midi event. Maybe the midi_*_conns arrays of Jack vectors would need the channel added to the Jack:
structMidiJackMap {
Jack jack;
MidiChan chan;
};
std::array<std::vector<MidiJackMap>, MaxMidiPolyphony> midi_note_pitch_conns;
Add the MIDI Channel (1-16 and All) to the MIDI Input Map page
Somehow handle knob mappings. Maybe when sending a CC it shows the channel detected and you can click "CC## on Chan X" or "CC## on All Chans"?
Display the MIDI Channel in the mapping pane when you click on a mapped jack/knob
The text was updated successfully, but these errors were encountered:
This would be to support filtering MIDI events by channel for each jack mapping.
Rough TODO list:
The MIDI channel would need to be baked into the patch format.
The VCV Hub would need to decipher what MIDI channel each MIDI module is set to and put that into the patch file.
Controls would need to pass along the MIDI channel to the audio stream (trivial change)
Patch Player would need to keep track of the channels allowed for each midi event. Maybe the
midi_*_conns
arrays of Jack vectors would need the channel added to the Jack:The text was updated successfully, but these errors were encountered: