#include <MIDI_Senders/ContinuousCCSender.hpp>
Class that sends continuous MIDI control change messages with a resolution of 14 bits.
INPUT_PRECISION_BITS | The resolution of the input values. For example, if INPUT_PRECISION_BITS == 10, the send function expects a value between 0 and 1023. |
Definition at line 37 of file ContinuousCCSender.hpp.
Public Member Functions | |
void | send (uint16_t value, MIDIAddress address) |
Send a 14-bit CC message to the given address. | |
Static Public Member Functions | |
static constexpr uint8_t | precision () |
Get this sender's precision. | |
|
inline |
Send a 14-bit CC message to the given address.
Sends two 7-bit CC packets, one for address
(MSB), and one for address
+ 0x20 (LSB).
Definition at line 42 of file ContinuousCCSender.hpp.
|
inlinestaticconstexpr |
Get this sender's precision.
Definition at line 49 of file ContinuousCCSender.hpp.