MIDI Control Surface library for Arduino
|
Go to the documentation of this file.
8 template <u
int8_t INPUT_PRECISION_BITS>
13 AH::increaseBitDepth<14, precision(), uint16_t, uint16_t>(value);
21 static_assert(INPUT_PRECISION_BITS <= 14,
22 "Maximum pitch bend resolution is 14 bits");
23 return INPUT_PRECISION_BITS;
static void send(uint16_t value, MIDICNChannelAddress address)
#define BEGIN_CS_NAMESPACE
constexpr uint8_t getCableNumber() const
Get the cable number [0, 15].
constexpr static uint8_t precision()
MIDI_Interface & MIDI()
Get the MIDI interface of the Control Surface.
A type-safe utility class for saving a MIDI address consisting of a 7-bit address,...
Control_Surface_ & Control_Surface
A predefined instance of the Control Surface to use in the Arduino sketches.
void sendPB(MIDICNChannel address, uint16_t value)
Send a MIDI Pitch Bend event.
A class for saving a MIDI channel and cable number.
constexpr Channel getChannel() const
Get the channel [CHANNEL_1, CHANNEL_16].