Control Surface pin-t-adl
MIDI Control Surface library for Arduino
Bankable/PBAbsoluteEncoder.hpp
Go to the documentation of this file.
1#pragma once
2
4
8
10
12
13namespace Bankable {
14
27template <size_t NumBanks>
29 : public MIDIAbsoluteEncoder<NumBanks, SingleAddress, PitchBendSender<14>> {
30 public:
61 MIDIChannelCable address, int16_t speedMultiply = 1,
62 uint8_t pulsesPerStep = 4)
64 {config, address}, std::move(encoder), speedMultiply,
65 pulsesPerStep, {}) {}
66};
67
68} // namespace Bankable
69
71
#define END_CS_NAMESPACE
#define BEGIN_CS_NAMESPACE
#define AH_DIAGNOSTIC_POP()
Definition: Warnings.hpp:36
#define AH_DIAGNOSTIC_WERROR()
Definition: Warnings.hpp:35
Class for reading quadrature encoders, heavily influenced by http://www.pjrc.com/teensy/td_libs_Encod...
Definition: AHEncoder.hpp:21
An abstract class for rotary encoders that send absolute MIDI events.
A class of MIDIOutputElements that read the input of a quadrature (rotary) encoder and send out absol...
PBAbsoluteEncoder(const BankConfig< NumBanks > &config, AHEncoder &&encoder, MIDIChannelCable address, int16_t speedMultiply=1, uint8_t pulsesPerStep=4)
Construct a new Bankable PBAbsoluteEncoder object with the given pins, channel, speed factor,...
A class for saving a MIDI channel and cable number.
Definition: MIDIAddress.hpp:24
Class that sends continuous MIDI pitch bend messages with a resolution of 14 bits.
A namespace for MIDI elements that can be added to a Bank, to change their address or channel.