A class for saving a MIDI channel and cable number.
More...
#include <Def/MIDIAddress.hpp>
A class for saving a MIDI channel and cable number.
Definition at line 19 of file MIDIAddress.hpp.
◆ MIDIChannelCN() [1/2]
◆ MIDIChannelCN() [2/2]
◆ getChannel()
constexpr Channel getChannel |
( |
| ) |
const |
|
inlineconstexpr |
◆ getRawChannel()
constexpr uint8_t getRawChannel |
( |
| ) |
const |
|
inlineconstexpr |
Get the channel as an integer [0, 15].
Definition at line 35 of file MIDIAddress.hpp.
◆ getCableNumber()
constexpr Cable getCableNumber |
( |
| ) |
const |
|
inlineconstexpr |
Get the cable number [CABLE_1, CABLE_16].
Definition at line 38 of file MIDIAddress.hpp.
◆ getRawCableNumber()
constexpr uint8_t getRawCableNumber |
( |
| ) |
const |
|
inlineconstexpr |
Get the cable number as an integer [0, 15].
Definition at line 42 of file MIDIAddress.hpp.
◆ isValid()
constexpr bool isValid |
( |
| ) |
const |
|
inlineconstexpr |
◆ operator bool()
constexpr operator bool |
( |
| ) |
const |
|
inlineexplicitconstexpr |
◆ invalid()
◆ addresses
The documentation for this class was generated from the following file: