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

◆ sendNoteOn()

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

Send a Note On message.

Parameters
inNoteNumberPitch value in the MIDI format (0 to 127).
inVelocityNote attack velocity (0 to 127). A NoteOn with 0 velocity is considered as a NoteOff.
inChannelThe channel on which the message will be sent (1 to 16).

Take a look at the values, names and frequencies of notes here: http://www.phys.unsw.edu.au/jw/notes.html

Definition at line 226 of file MIDI.hpp.

229{
231}
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 NoteOn, and send().

+ Here is the call graph for this function: