Control Surface  1.1.1
MIDI Control Surface library for Arduino
PBAbsoluteEncoder.hpp
Go to the documentation of this file.
1 #pragma once
2 
5 
7 
21 class PBAbsoluteEncoder : public MIDIAbsoluteEncoder<PitchBendSender<14>> {
22  public:
50  int16_t multiplier = 1, uint8_t pulsesPerStep = 4,
51  const PitchBendSender<14> &sender = {})
53  sender) {}
54 };
55 
MIDIAbsoluteEncoder.hpp
MIDIAbsoluteEncoder< PitchBendSender< 14 > >::address
const MIDICNChannelAddress address
Definition: MIDIAbsoluteEncoder.hpp:54
MIDIAbsoluteEncoder< PitchBendSender< 14 > >::sender
PitchBendSender< 14 > sender
Definition: MIDIAbsoluteEncoder.hpp:60
BEGIN_CS_NAMESPACE
#define BEGIN_CS_NAMESPACE
Definition: Settings/NamespaceSettings.hpp:9
PitchBendSender< 14 >
MIDIAbsoluteEncoder
An abstract class for rotary encoders that send absolute MIDI events.
Definition: MIDIAbsoluteEncoder.hpp:20
END_CS_NAMESPACE
#define END_CS_NAMESPACE
Definition: Settings/NamespaceSettings.hpp:10
PitchBendSender.hpp
MIDICNChannel
A class for saving a MIDI channel and cable number.
Definition: MIDICNChannelAddress.hpp:19
PBAbsoluteEncoder
A class of MIDIOutputElements that read the input of a quadrature (rotary) encoder and send out absol...
Definition: PBAbsoluteEncoder.hpp:21
MIDIAbsoluteEncoder< PitchBendSender< 14 > >::multiplier
const int16_t multiplier
Definition: MIDIAbsoluteEncoder.hpp:55
PBAbsoluteEncoder::PBAbsoluteEncoder
PBAbsoluteEncoder(const EncoderPinList &pins, const MIDICNChannel &address, int16_t multiplier=1, uint8_t pulsesPerStep=4, const PitchBendSender< 14 > &sender={})
Construct a new PBAbsoluteEncoder object with the given pins, address, channel, speed factor,...
Definition: PBAbsoluteEncoder.hpp:49
MIDIAbsoluteEncoder< PitchBendSender< 14 > >::pulsesPerStep
const uint8_t pulsesPerStep
Definition: MIDIAbsoluteEncoder.hpp:56
EncoderPinList
A struct for the pins of a rotary (quadrature) encoder without a switch.
Definition: Def.hpp:44
MIDIAbsoluteEncoder< PitchBendSender< 14 > >::MIDIAbsoluteEncoder
MIDIAbsoluteEncoder(const EncoderPinList &pins, const MIDICNChannelAddress &address, int16_t multiplier, uint8_t pulsesPerStep, const PitchBendSender< 14 > &sender)
Definition: MIDIAbsoluteEncoder.hpp:22