Control Surface new-input
MIDI Control Surface library for Arduino
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
 

Class Documentation

◆ TwoByteRangeMIDIMatcher::Result

struct TwoByteRangeMIDIMatcher::Result
+ Collaboration diagram for TwoByteRangeMIDIMatcher::Result:
Class Members
bool match
uint8_t value
uint8_t index

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