Control Surface  1.2.0
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 = MIDIChannelCN::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:75
MIDIAddress::invalid
constexpr static MIDIAddress invalid()
Return an invalid address.
Definition: MIDIAddress.hpp:196
IncrementDecrementSelector
Selector with two buttons (one to increment, one to decrement).
Definition: IncrementDecrementSelector.hpp:70
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:68
Wrap
Wrap
An enumeration to set the behavior of selectors that are incremented (decremented) beyond their maxim...
Definition: Selector.hpp:14
Control_Surface
Control_Surface_ & Control_Surface
A predefined instance of the Control Surface to use in the Arduino sketches.
Definition: Control_Surface_Class.cpp:203
Bankable::ManyAddresses::PBPotentiometer
A class of MIDIOutputElements that read the analog input from a potentiometer or fader,...
Definition: ManyAddresses/PBPotentiometer.hpp:37
Bankable::ManyAddresses::CCPotentiometer
A class of MIDIOutputElements that read the analog input from a potentiometer or fader,...
Definition: ManyAddresses/CCPotentiometer.hpp:29
MIDIChannelCN::invalid
constexpr static MIDIChannelCN invalid()
Definition: MIDIAddress.hpp:53
USBDebugMIDI_Interface
A class for debug MIDI interfaces sending and receiving human-readable MIDI messages over the USB CDC...
Definition: DebugMIDI_Interface.hpp:115
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