An advanced example with Program Change buttons in different Banks.
{bank,
2,
{
}},
{bank,
3,
{
}},
{bank,
4,
{
}},
{bank,
5,
{
}},
};
void setup() {
}
void loop() {
}
The main header file that includes all Control-Surface header files.
Control_Surface_ & Control_Surface
A predefined instance of the Control Surface to use in the Arduino sketches.
@ Clamp
When the maximum (minimum) setting is reached, clamp to the maximum (minimum) setting.
A class that groups Bankable MIDI Output Elements and Bankable MIDI Input Elements,...
void begin()
Initialize the Control_Surface.
void loop()
Update all MIDI elements, send MIDI events and read MIDI input.
Selector with two buttons (one to increment, one to decrement).
A class for MIDI interfaces sending MIDI messages over a USB MIDI connection.
Names and values for all MIDI Control Change Controller Numbers.
constexpr uint8_t Electric_Bass_Pick
constexpr uint8_t Rock_Organ
constexpr uint8_t Drawbar_Organ
constexpr uint8_t Harpsichord
constexpr uint8_t Church_Organ
constexpr uint8_t Acoustic_Guitar_Nylon
constexpr uint8_t Distortion_Guitar
constexpr uint8_t Slap_Bass_1
constexpr uint8_t Accordion
constexpr uint8_t Acoustic_Grand_Piano
constexpr uint8_t HonkyTonk_Piano
constexpr uint8_t Electric_Piano_1