36template <u
int8_t INPUT_PRECISION_BITS>
43 value = AH::increaseBitDepth<14, precision(), uint16_t>(value);
50 static_assert(INPUT_PRECISION_BITS <= 14,
51 "Maximum resolution is 14 bits");
52 return INPUT_PRECISION_BITS;
Control_Surface_ & Control_Surface
A predefined instance of the Control Surface to use in the Arduino sketches.
#define BEGIN_CS_NAMESPACE
Class that sends continuous MIDI control change messages with a resolution of 14 bits.
static constexpr uint8_t precision()
Get this sender's precision.
void send(uint16_t value, MIDIAddress address)
Send a 14-bit CC message to the given address.
Class that sends continuous MIDI control change messages with a resolution of 7 bits.
static constexpr uint8_t precision()
Get the resolution of the sender in bits (always returns 7).
void send(uint8_t value, MIDIAddress address)
Send a 7-bit CC message to the given address.
A type-safe utility class for saving a MIDI address consisting of a 7-bit address,...
void sendControlChange(MIDIAddress address, uint8_t value)
Send a MIDI Control Change event.