#include <AH/STL/algorithm>
bank,
{21, 20},
{46, 48, 50, 52},
};
};
{bank, 13, 0x14},
{bank, 12, 0x15},
{bank, 11, 0x16},
{bank, 10, 0x17},
{bank, 9, 0x18},
{bank, 8, 0x19},
{bank, 7, 0x1A},
{bank, 6, 0x1B},
{bank, 5, 0x1C},
{bank, 4, 0x1D},
{bank, 3, 0x1E},
{bank, 2, 0x1F},
{bank, 14, 0x20},
{bank, 15, 0x21},
{bank, 16, 0x22},
{bank, 17, 0x23},
};
constexpr pin_t ledPin = 22;
void setup() {
}
void loop() {
return button.getButtonState() == Button::Pressed;
};
bool pressed = std::any_of(std::begin(muteButtons), std::end(muteButtons),
checkButtonPressed);
}
constexpr PinMode_t OUTPUT
@ ChangeChannel
Change the offset of the channel number of the element.
constexpr Channel Channel_7
constexpr Channel Channel_12
constexpr Channel Channel_6
constexpr Channel Channel_3
constexpr Channel Channel_1
constexpr Channel Channel_2
constexpr Channel Channel_9
constexpr Channel Channel_4
constexpr Channel Channel_10
constexpr Channel Channel_5
constexpr Channel Channel_11
constexpr Channel Channel_8
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.
A class that groups Bankable MIDI Output Elements and Bankable MIDI Input Elements,...
A class of MIDIOutputElements that read the analog input from a potentiometer or fader,...
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). This version displays the setting u...
A class for MIDI interfaces sending MIDI messages over a USB MIDI connection.
void pinMode(pin_t pin, PinMode_t mode)
An ExtIO version of the Arduino function.
void digitalWrite(pin_t pin, PinStatus_t val)
An ExtIO version of the Arduino function.
Names and values for all MIDI Control Change Controller Numbers.
constexpr uint8_t Sound_Controller_4
constexpr uint8_t Sound_Controller_3
constexpr uint8_t Sound_Controller_5
constexpr uint8_t Effects_2
constexpr uint8_t Effects_4
constexpr uint8_t Effect_Control_2
constexpr uint8_t Effects_1
constexpr uint8_t Channel_Volume
constexpr uint8_t Effects_3
constexpr uint8_t Sound_Controller_6
constexpr uint8_t Effect_Control_1