Control Surface  1.1.1
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 = MIDICNChannelAddress::invalid();
constexpr auto no_channel = MIDICNChannel::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() {
}
Bank
A class that groups Bankable BankableMIDIOutputs and BankableMIDIInputs, and allows the user to chang...
Definition: Bank.hpp:77
MIDICNChannelAddress::invalid
constexpr static MIDICNChannelAddress invalid()
Definition: MIDICNChannelAddress.hpp:170
IncrementDecrementSelector
Selector with two buttons (one to increment, one to decrement).
Definition: IncrementDecrementSelector.hpp:66
Control_Surface.h
The main header file that includes all Control-Surface header files.
Control_Surface_::loop
void loop()
Update all MIDI elements, send MIDI events and read MIDI input.
Definition: Control_Surface_Class.cpp:48
Control_Surface
Control_Surface_ & Control_Surface
A predefined instance of the Control Surface to use in the Arduino sketches.
Definition: Control_Surface_Class.cpp:176
Bankable::ManyAddresses::PBPotentiometer
A class of MIDIOutputElements that read the analog input from a potentiometer or fader,...
Definition: ManyAddresses/PBPotentiometer.hpp:35
Bankable::ManyAddresses::CCPotentiometer
A class of MIDIOutputElements that read the analog input from a potentiometer or fader,...
Definition: ManyAddresses/CCPotentiometer.hpp:27
Wrap::Wrap
When the maximum (minimum) setting is reached, wrap around to the minimum (maximum) setting.
USBDebugMIDI_Interface
A class for debug MIDI interfaces sending and receiving human-readable MIDI messages over the USB CDC...
Definition: DebugMIDI_Interface.hpp:115
MIDICNChannel::invalid
constexpr static MIDICNChannel invalid()
Definition: MIDICNChannelAddress.hpp:50
CHANNEL_1
constexpr Channel CHANNEL_1
Definition: Channel.hpp:111
Control_Surface_::begin
void begin()
Initialize the Control_Surface.
Definition: Control_Surface_Class.cpp:25