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

◆ sendNoteOff()

template<class Transport, class Settings, class Platform>
void MidiInterface< Transport, Settings, Platform >::sendNoteOff ( DataByte inNoteNumber,
DataByte inVelocity,
Channel inChannel )
inline

Send a Note Off message.

Parameters
inNoteNumberPitch value in the MIDI format (0 to 127).
inVelocityRelease velocity (0 to 127).
inChannelThe channel on which the message will be sent (1 to 16).

Note: you can send NoteOn with zero velocity to make a NoteOff, this is based on the Running Status principle, to avoid sending status messages and thus sending only NoteOn data. sendNoteOff will always send a real NoteOff message. Take a look at the values, names and frequencies of notes here: http://www.phys.unsw.edu.au/jw/notes.html

Definition at line 245 of file MIDI.hpp.

248{
250}
The main class for MIDI handling. It is templated over the type of serial port to provide abstraction...
Definition MIDI.h:55
void send(const MidiMessage &)
Send a MIDI message.
Definition MIDI.hpp:118

References NoteOff, and send().

+ Here is the call graph for this function: