MIDI Mapping interface: Vst::IMidiMapping2.
More...
#include <ivstmidimapping2.h>
MIDI Mapping interface: Vst::IMidiMapping2.
This interface replaces Vst::IMidiMapping to support the extended MIDI controllers in MIDI 2.0.
A MIDI 2.0 capable host first queries for the Vst::IMidiMapping2 interface and uses the old Vst::IMidiMapping interface as a fallback.
A plug-in can use the Vst::IPlugInterfaceSupport to check if the host supports Vst::IMidiMapping2.
◆ getNumMidi2ControllerAssignments()
Gets the number of MIDI 2.0 controller to parameter assignments.
- Parameters
-
| direction | input/output direction |
- Returns
- number of MIDI 2.0 controller to parameter assignments
- Note
- [UI-thread & Connected]
◆ getMidi2ControllerAssignments()
Gets MIDI 2.0 controller parameter assignments.
the list is preallocated by the host and must be filled by the plug-in
- Parameters
-
| direction | input/output direction |
| list | list of assignments |
- Returns
- kResultTrue on success
- Note
- [UI-thread & Connected]
◆ getNumMidi1ControllerAssignments()
Gets the number of MIDI 1.0 controller to parameter assignments.
- Parameters
-
| direction | input/output direction |
- Returns
- number of MIDI 1.0 controller to parameter assignments
- Note
- [UI-thread & Connected]
◆ getMidi1ControllerAssignments()
Gets MIDI 1.0 controller parameter assignments.
the list is preallocated by the host and must be filled by the plug-in
- Parameters
-
| direction | input/output direction |
| list | list of assignments |
- Returns
- kResultTrue on success
- Note
- [UI-thread & Connected]
◆ iid