FastLED 3.9.15
Loading...
Searching...
No Matches

◆ handleNullVelocityNoteOnAsNoteOff()

template<class Transport, class Settings, class Platform>
void MidiInterface< Transport, Settings, Platform >::handleNullVelocityNoteOnAsNoteOff ( )
inlineprivate

Definition at line 1080 of file MIDI.hpp.

1081{
1083 getType() == NoteOn && getData2() == 0)
1084 {
1085 mMessage.type = NoteOff;
1086 }
1087}
MidiMessage mMessage
Definition MIDI.h:283
The main class for MIDI handling. It is templated over the type of serial port to provide abstraction...
Definition MIDI.h:55
MidiType getType() const
Get the last received message's type.
Definition MIDI.hpp:1134
DataByte getData2() const
Get the second data byte of the last received message.
Definition MIDI.hpp:1159

References getData2(), getType(), mMessage, NoteOff, and NoteOn.

Referenced by read().

+ Here is the call graph for this function:
+ Here is the caller graph for this function: