Control Surface master
MIDI Control Surface library for Arduino
One-Pot-Both-PB-and-CC.ino

One-Pot-Both-PB-and-CC

https://github.com/tttapa/Control-Surface/issues/40

Bank<3> bank;
IncrementDecrementSelector<3> bankselector {bank, {2, 3}, Wrap::Wrap};
constexpr auto no_address = MIDIAddress::invalid();
constexpr auto no_channel = MIDIChannelCable::invalid();
{bank, A0, {91, no_address, 72}},
{bank, A1, {93, 1, 73}},
{bank, A2, {92, 2, 74}},
{bank, A3, {95, 5, 70}},
};
bank,
A0,
{no_channel, CHANNEL_1, no_channel},
};
void setup() {
}
void loop() {
}
constexpr Channel CHANNEL_1
Definition: Channel.hpp:118
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.
@ Wrap
When the maximum (minimum) setting is reached, wrap around to the minimum (maximum) setting.
A class that groups Bankable MIDI Output Elements and Bankable MIDI Input Elements,...
Definition: Bank.hpp:91
A class of MIDIOutputElements that read the analog input from a potentiometer or fader,...
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).
constexpr static MIDIAddress invalid()
Return an invalid address.
constexpr static MIDIChannelCable invalid()
Definition: MIDIAddress.hpp:35
A class for debug MIDI interfaces sending and receiving human-readable MIDI messages over the USB CDC...