6#include <AH/Containers/ArrayHelpers.hpp>
14namespace ManyAddresses {
34template <setting_t NumBanks>
37 PitchBendSender<10>> {
54 {bank, AH::copyAs<MIDIAddress>(addresses)}, analogPin, {}} {}
#define BEGIN_CS_NAMESPACE
#define AH_DIAGNOSTIC_POP()
#define AH_DIAGNOSTIC_WERROR()
A class that groups Bankable MIDI Output Elements and Bankable MIDI Input Elements,...
A class for potentiometers and faders that send MIDI events and can be added to a Bank.
A class of MIDIOutputElements that read the analog input from a potentiometer or fader,...
PBPotentiometer(const Bank< NumBanks > &bank, pin_t analogPin, const Array< MIDIChannelCable, NumBanks > &addresses)
Create a new Bankable PBPotentiometer object with the given analog pin and channel.
Class that sends continuous MIDI pitch bend messages with a resolution of 14 bits.
uint16_t pin_t
The type for Arduino pins (and ExtendedIOElement pins).
A namespace for MIDI elements that can be added to a Bank, to change their address or channel.
An array wrapper for easy copying, comparing, and iterating.