Control Surface
main
MIDI Control Surface library for Arduino
Loading...
Searching...
No Matches
src
MIDI_Outputs
CCAbsoluteEncoder.hpp
Go to the documentation of this file.
1
#pragma once
2
3
#include <
MIDI_Outputs/Abstract/MIDIAbsoluteEncoder.hpp
>
4
#include <
MIDI_Senders/ContinuousCCSender.hpp
>
5
6
BEGIN_CS_NAMESPACE
7
17
class
CCAbsoluteEncoder
:
public
MIDIAbsoluteEncoder
<ContinuousCCSender> {
18
public
:
45
CCAbsoluteEncoder
(
AHEncoder
&&
encoder
,
MIDIAddress
address
,
46
int16_t multiplier = 1, uint8_t pulsesPerStep = 4)
47
:
MIDIAbsoluteEncoder
<
ContinuousCCSender
>(
48
std::move(
encoder
),
address
, multiplier, pulsesPerStep, {}) {}
49
};
50
51
END_CS_NAMESPACE
MIDIAbsoluteEncoder.hpp
ContinuousCCSender.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
CCAbsoluteEncoder
A class of MIDIOutputElements that read the input of a quadrature (rotary) encoder and send out absol...
Definition
CCAbsoluteEncoder.hpp:17
CCAbsoluteEncoder::CCAbsoluteEncoder
CCAbsoluteEncoder(AHEncoder &&encoder, MIDIAddress address, int16_t multiplier=1, uint8_t pulsesPerStep=4)
Construct a new CCAbsoluteEncoder object with the given pins, address, channel, speed factor,...
Definition
CCAbsoluteEncoder.hpp:45
ContinuousCCSender
Class that sends continuous MIDI control change messages with a resolution of 7 bits.
Definition
ContinuousCCSender.hpp:14
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
MIDIAddress
A type-safe utility class for saving a MIDI address consisting of a 7-bit address,...
Definition
MIDIAddress.hpp:145
Generated by
1.10.0