Control Surface main
MIDI Control Surface library for Arduino
Loading...
Searching...
No Matches
Bankable/CCAbsoluteEncoder.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, ContinuousCCSender> {
26 public:
59 MIDIAddress address, int16_t speedMultiply = 1,
60 uint8_t pulsesPerStep = 4)
62 {config, address}, std::move(encoder), speedMultiply,
63 pulsesPerStep, {}) {}
64};
65
66} // namespace Bankable
67
#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:24
A class of MIDIOutputElements that read the input of a quadrature (rotary) encoder and send out absol...
CCAbsoluteEncoder(BankConfig< NumBanks > config, AHEncoder &&encoder, MIDIAddress address, int16_t speedMultiply=1, uint8_t pulsesPerStep=4)
Construct a new Bankable CCAbsoluteEncoder object with the given pins, controller,...
An abstract class for rotary encoders that send absolute MIDI events.
Class that sends continuous MIDI control change messages with a resolution of 7 bits.
A type-safe utility class for saving a MIDI address consisting of a 7-bit address,...
A namespace for MIDI elements that can be added to a Bank, to change their address or channel.