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

◆ getChannel()

template<class Transport, class Settings, class Platform>
Channel MidiInterface< Transport, Settings, Platform >::getChannel ( ) const
inline

Get the channel of the message stored in the structure.

Returns
Channel range is 1 to 16. For non-channel messages, this will return 0.

Definition at line 1145 of file MIDI.hpp.

1146{
1147 return mMessage.channel;
1148}
MidiMessage mMessage
Definition MIDI.h:283

References mMessage.