Control Surface
main
MIDI Control Surface library for Arduino
Loading...
Searching...
No Matches
src
MIDI_Outputs
Bankable
Bankable/CCRotaryEncoder.hpp
Go to the documentation of this file.
1
#pragma once
2
3
#include <
Banks/BankAddresses.hpp
>
4
#include <
MIDI_Outputs/Bankable/Abstract/MIDIRotaryEncoder.hpp
>
5
#include <
MIDI_Senders/RelativeCCSender.hpp
>
6
7
BEGIN_CS_NAMESPACE
8
9
namespace
Bankable
{
10
20
class
CCRotaryEncoder
21
:
public
MIDIRotaryEncoder
<SingleAddress, RelativeCCSender> {
22
public
:
54
CCRotaryEncoder
(
OutputBankConfig<>
config,
AHEncoder
&&
encoder
,
55
MIDIAddress
address
, int16_t speedMultiply = 1,
56
uint8_t pulsesPerStep = 4)
57
:
MIDIRotaryEncoder
<
SingleAddress
,
RelativeCCSender
>(
58
{config,
address
}, std::move(
encoder
), speedMultiply,
59
pulsesPerStep, {}) {}
60
};
61
62
}
// namespace Bankable
63
64
END_CS_NAMESPACE
BankAddresses.hpp
MIDIRotaryEncoder.hpp
RelativeCCSender.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
Bankable::CCRotaryEncoder
A class of MIDIOutputElements that read the input of a quadrature (rotary) encoder and send out relat...
Definition
Bankable/CCRotaryEncoder.hpp:21
Bankable::CCRotaryEncoder::CCRotaryEncoder
CCRotaryEncoder(OutputBankConfig<> config, AHEncoder &&encoder, MIDIAddress address, int16_t speedMultiply=1, uint8_t pulsesPerStep=4)
Construct a new Bankable CCRotaryEncoder object with the given pins, controller, channel,...
Definition
Bankable/CCRotaryEncoder.hpp:54
Bankable::GenericMIDIRotaryEncoder
An abstract class for rotary encoders that send MIDI events and that can be added to a Bank.
Definition
Bankable/Abstract/MIDIRotaryEncoder.hpp:25
Bankable::GenericMIDIRotaryEncoder::address
BankAddress address
Definition
Bankable/Abstract/MIDIRotaryEncoder.hpp:59
Bankable::GenericMIDIRotaryEncoder::encoder
Enc encoder
Definition
Bankable/Abstract/MIDIRotaryEncoder.hpp:60
Bankable::SingleAddress
Definition
BankAddresses.hpp:9
MIDIAddress
A type-safe utility class for saving a MIDI address consisting of a 7-bit address,...
Definition
MIDIAddress.hpp:145
RelativeCCSender
Class that sends relative/incremental MIDI control change messages.
Definition
RelativeCCSender.hpp:88
Bankable
A namespace for MIDI elements that can be added to a Bank, to change their address or channel.
Definition
BankAddresses.hpp:7
OutputBankConfig
Definition
BankConfig.hpp:79
Generated by
1.10.0