Control Surface main
MIDI Control Surface library for Arduino
Loading...
Searching...
No Matches
Classes | Public Member Functions | Public Attributes | List of all members
TwoByteRangeMIDIMatcher Struct Reference

#include <MIDI_Inputs/MIDIInputElementMatchers.hpp>

Detailed Description

Matcher for MIDI messages with 2 data bytes, such as Note On/Off, Control Change, Key Pressure (but not Pitch Bend).

Matches ranges of addresses on a single channel and cable.

Examples
Custom-Note-LED-Input-Element-Callback-FastLED.ino.

Definition at line 82 of file MIDIInputElementMatchers.hpp.

+ Collaboration diagram for TwoByteRangeMIDIMatcher:

Classes

struct  Result
 

Public Member Functions

 TwoByteRangeMIDIMatcher (MIDIAddress address, uint8_t length)
 
Result operator() (ChannelMessage m)
 

Public Attributes

MIDIAddress address
 
uint8_t length
 

Constructor & Destructor Documentation

◆ TwoByteRangeMIDIMatcher()

TwoByteRangeMIDIMatcher ( MIDIAddress address,
uint8_t length )
inline

Definition at line 83 of file MIDIInputElementMatchers.hpp.

Member Function Documentation

◆ operator()()

Result operator() ( ChannelMessage m)
inline

Definition at line 92 of file MIDIInputElementMatchers.hpp.

Member Data Documentation

◆ address

MIDIAddress address

Definition at line 101 of file MIDIInputElementMatchers.hpp.

◆ length

uint8_t length

Definition at line 102 of file MIDIInputElementMatchers.hpp.


The documentation for this struct was generated from the following file: