MIDI Control Surface library for Arduino
|
Go to the documentation of this file.
6 #include <AH/Containers/ArrayHelpers.hpp>
14 namespace ManyAddresses {
34 template <setting_t N>
37 PitchBendSender<10>> {
57 {bank, AH::copyAs<MIDICNChannelAddress>(addresses)},
A class that groups Bankable BankableMIDIOutputs and BankableMIDIInputs, and allows the user to chang...
A namespace for MIDI elements that can be added to a Bank, to change their address or channel.
A class for potentiometers and faders that send MIDI events (with only a channel, no address) and tha...
uint16_t pin_t
The type for Arduino pins (and ExtendedIOElement pins).
#define BEGIN_CS_NAMESPACE
#define AH_DIAGNOSTIC_POP()
PitchBendSender< 10 > sender
PBPotentiometer(const Bank< N > &bank, pin_t analogPin, const Array< MIDICNChannel, N > &addresses, const PitchBendSender< 10 > &sender={})
Create a new Bankable PBPotentiometer object with the given analog pin and channel.
An array wrapper for easy copying, comparing, and iterating.
A class of MIDIOutputElements that read the analog input from a potentiometer or fader,...
#define AH_DIAGNOSTIC_WERROR()