MayaFlux 0.2.0
Digital-First Multimedia Processing Framework
Loading...
Searching...
No Matches

◆ midi_note_off()

InputBinding MayaFlux::Core::InputBinding::midi_note_off ( std::optional< uint8_t >  channel = {},
uint32_t  device_id = 0 
)
static

Bind to MIDI Note Off messages.

Parameters
channelMIDI channel (1-16, nullopt = any channel)
device_idDevice ID (0 = any device)

Definition at line 69 of file InputBinding.cpp.

72{
73 return {
74 .backend = InputType::MIDI,
75 .device_id = device_id,
76 .midi_channel = channel,
77 .midi_message_type = 0x80 // Note Off
78 };
79}
@ MIDI
MIDI controllers and instruments.
uint32_t device_id
Specific device (0 = any device)

References backend, device_id, and MayaFlux::Core::MIDI.

Referenced by MayaFlux::bind_midi_note_off().

+ Here is the caller graph for this function: