Control Surface main
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.


Definition at line 82 of file MIDIInputElementMatchers.hpp.

+ Collaboration diagram for TwoByteRangeMIDIMatcher:


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

Constructor & Destructor Documentation

◆ TwoByteRangeMIDIMatcher()

TwoByteRangeMIDIMatcher ( MIDIAddress  address,
uint8_t  length 

Definition at line 83 of file MIDIInputElementMatchers.hpp.

Member Function Documentation

◆ operator()()

Result operator() ( ChannelMessage  m)

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: