Control Surface main
MIDI Control Surface library for Arduino
Loading...
Searching...
No Matches
Bankable/PBAbsoluteEncoder.hpp
Go to the documentation of this file.
1#pragma once
2
6
8
9namespace Bankable {
10
23template <size_t NumBanks>
25 : public MIDIAbsoluteEncoder<NumBanks, SingleAddress, PitchBendSender<14>> {
26 public:
57 MIDIChannelCable address, int16_t speedMultiply = 1,
58 uint8_t pulsesPerStep = 4)
60 {config, address}, std::move(encoder), speedMultiply,
61 pulsesPerStep, {}) {}
62};
63
64} // namespace Bankable
65
#define END_CS_NAMESPACE
#define BEGIN_CS_NAMESPACE
Class for reading quadrature encoders, heavily influenced by http://www.pjrc.com/teensy/td_libs_Encod...
Definition AHEncoder.hpp:22
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.
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.
An array wrapper for easy copying, comparing, and iterating.
Definition Array.hpp:32