Control Surface
main
MIDI Control Surface library for Arduino
Loading...
Searching...
No Matches
src
MIDI_Outputs
PBAbsoluteEncoder.hpp
Go to the documentation of this file.
1
#pragma once
2
3
#include <
MIDI_Outputs/Abstract/MIDIAbsoluteEncoder.hpp
>
4
#include <
MIDI_Senders/PitchBendSender.hpp
>
5
6
BEGIN_CS_NAMESPACE
7
17
class
PBAbsoluteEncoder
:
public
MIDIAbsoluteEncoder
<PitchBendSender<14>> {
18
public
:
44
PBAbsoluteEncoder
(
AHEncoder
&&
encoder
,
MIDIChannelCable
address
,
45
int16_t multiplier = 1, uint8_t pulsesPerStep = 4)
46
:
MIDIAbsoluteEncoder
<
PitchBendSender
<14>>(
47
std::move(
encoder
),
address
, multiplier, pulsesPerStep, {}) {}
48
};
49
50
END_CS_NAMESPACE
MIDIAbsoluteEncoder.hpp
PitchBendSender.hpp
END_CS_NAMESPACE
#define END_CS_NAMESPACE
Definition
Settings/NamespaceSettings.hpp:14
BEGIN_CS_NAMESPACE
#define BEGIN_CS_NAMESPACE
Definition
Settings/NamespaceSettings.hpp:11
AHEncoder
Class for reading quadrature encoders, heavily influenced by http://www.pjrc.com/teensy/td_libs_Encod...
Definition
AHEncoder.hpp:24
GenericMIDIAbsoluteEncoder
An abstract class for rotary encoders that send absolute MIDI events.
Definition
Abstract/MIDIAbsoluteEncoder.hpp:23
GenericMIDIAbsoluteEncoder::address
MIDIAddress address
Definition
Abstract/MIDIAbsoluteEncoder.hpp:80
GenericMIDIAbsoluteEncoder::encoder
Enc encoder
Definition
Abstract/MIDIAbsoluteEncoder.hpp:79
MIDIChannelCable
A class for saving a MIDI channel and cable number.
Definition
MIDIAddress.hpp:24
PBAbsoluteEncoder
A class of MIDIOutputElements that read the input of a quadrature (rotary) encoder and send out absol...
Definition
PBAbsoluteEncoder.hpp:17
PBAbsoluteEncoder::PBAbsoluteEncoder
PBAbsoluteEncoder(AHEncoder &&encoder, MIDIChannelCable address, int16_t multiplier=1, uint8_t pulsesPerStep=4)
Construct a new PBAbsoluteEncoder object with the given pins, address, channel, speed factor,...
Definition
PBAbsoluteEncoder.hpp:44
PitchBendSender
Class that sends continuous MIDI pitch bend messages with a resolution of 14 bits.
Definition
PitchBendSender.hpp:20
Generated by
1.10.0