#include <MIDI_Inputs/NoteCCRange.hpp>
|
constexpr static uint8_t | length () |
| Get the length of the range. More...
|
|
|
Callback | callback |
| Callback that is called when a value in the active bank changes. More...
|
|
template<class MIDIInput_t, uint8_t RangeLen, class Callback = NoteCCRangeEmptyCallback>
class GenericNoteCCRange< MIDIInput_t, RangeLen, Callback >
- Examples
- MIDI-Note-Callback-IR.ino.
Definition at line 155 of file NoteCCRange.hpp.
◆ GenericNoteCCRange()
◆ match()
Check if the address of the incoming MIDI message is within the range of addresses of this element.
Definition at line 164 of file NoteCCRange.hpp.
◆ getValue() [1/4]
uint8_t getValue |
( |
uint8_t |
index | ) |
const |
|
inlinefinaloverridevirtualinherited |
◆ getValue() [2/4]
Get the velocity or controller value for the given index in the range.
◆ getValue() [3/4]
Get the velocity or controller value of the first or only note or controller.
Definition at line 24 of file NoteCCRange.hpp.
◆ getValue() [4/4]
uint8_t getValue |
( |
| ) |
const |
|
inlineinherited |
Get the velocity or controller value of the first or only note or controller.
Definition at line 24 of file NoteCCRange.hpp.
◆ begin()
◆ reset()
◆ updateImpl()
|
inlineoverrideprivateinherited |
◆ getValueFromMIDIMessage()
|
inlinestaticprivateinherited |
Extract the "value" from a MIDI Note or Control Change message.
For Note On and Control Change, this is simply the second data byte, for Note Off, it's zero.
Definition at line 120 of file NoteCCRange.hpp.
◆ getSelection()
virtual uint8_t getSelection |
( |
| ) |
const |
|
inlineprivatevirtualinherited |
◆ getBankIndex()
|
inlineprivatevirtualinherited |
◆ getRangeIndex()
|
inlineprivatevirtualinherited |
Get the index of the given MIDI address in the range.
Definition at line 135 of file NoteCCRange.hpp.
◆ length() [1/2]
constexpr static uint8_t length |
( |
| ) |
|
|
inlinestaticconstexprinherited |
◆ length() [2/2]
Get the length of the range of note/CC addresses.
Definition at line 19 of file NoteCCRange.hpp.
◆ values
A 2D array for saving all values of the range, for all banks.
Definition at line 142 of file NoteCCRange.hpp.
◆ callback
Callback that is called when a value in the active bank changes.
Definition at line 146 of file NoteCCRange.hpp.
◆ rangeLength
The documentation for this class was generated from the following file: