FastLED 3.9.15
|
void MidiInterface< Transport, Settings, Platform >::send | ( | MidiType | inType, |
DataByte | inData1, | ||
DataByte | inData2, | ||
Channel | inChannel ) |
Generate and send a MIDI message from the values given.
inType | The message type (see type defines for reference) |
inData1 | The first data byte. |
inData2 | The second data byte (if the message contains only 1 data byte, set this one to 0). |
inChannel | The output channel on which the message will be sent (values from 1 to 16). Note: you cannot send to OMNI. |
This is an internal method, use it only if you need to send raw data from your code, at your own risks.
Definition at line 160 of file MIDI.hpp.
References AfterTouchChannel, Clock, getStatus(), MIDI_CHANNEL_OFF, MIDI_CHANNEL_OMNI, mRunningStatus_TX, mTransport, PitchBend, ProgramChange, sendRealTime(), SystemReset, and UpdateLastSentTime().