| 
   
    MIDI Control Surface library for Arduino 
   | 
 
 
 
 
Go to the documentation of this file.
   36 template <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;
 
  
A type-safe utility class for saving a MIDI address consisting of a 7-bit address,...
 
constexpr static 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.
 
constexpr static uint8_t precision()
Get this sender's precision.
 
#define BEGIN_CS_NAMESPACE
 
void send(uint16_t value, MIDIAddress address)
Send a 14-bit CC message to the given address.
 
Control_Surface_ & Control_Surface
A predefined instance of the Control Surface to use in the Arduino sketches.
 
Class that sends continuous MIDI control change messages with a resolution of 14 bits.
 
void sendCC(MIDIAddress address, uint8_t value)
Send a MIDI Control Change event.
 
Class that sends continuous MIDI control change messages with a resolution of 7 bits.