#include <MIDI_Senders/DigitalCCSender.hpp>
Class that sends MIDI control change messages signifying either "on" or "off".
Definition at line 13 of file DigitalCCSender.hpp.
Public Member Functions | |
DigitalCCSender (uint8_t onValue=0x7F, uint8_t offValue=0x00) | |
void | sendOn (MIDIAddress address) |
Send a control change message to the given address, with onValue as value. | |
void | sendOff (MIDIAddress address) |
Send a control change message to the given address, with offValue as value. | |
uint8_t | getOnValue () const |
void | setOnValue (uint8_t onValue) |
uint8_t | getOffValue () const |
void | setOffValue (uint8_t offValue) |
Private Attributes | |
uint8_t | onValue |
uint8_t | offValue |
|
inline |
Definition at line 15 of file DigitalCCSender.hpp.
|
inline |
Send a control change message to the given address, with onValue
as value.
Definition at line 20 of file DigitalCCSender.hpp.
|
inline |
Send a control change message to the given address, with offValue
as value.
Definition at line 25 of file DigitalCCSender.hpp.
|
inline |
Definition at line 29 of file DigitalCCSender.hpp.
|
inline |
Definition at line 30 of file DigitalCCSender.hpp.
|
inline |
Definition at line 31 of file DigitalCCSender.hpp.
|
inline |
Definition at line 32 of file DigitalCCSender.hpp.
|
private |
Definition at line 35 of file DigitalCCSender.hpp.
|
private |
Definition at line 36 of file DigitalCCSender.hpp.