Control Surface
main
MIDI Control Surface library for Arduino
Loading...
Searching...
No Matches
src
MIDI_Outputs
Bankable
Bankable/CCPotentiometer.hpp
Go to the documentation of this file.
1
#pragma once
2
3
#include <
Banks/BankAddresses.hpp
>
4
#include <
MIDI_Outputs/Bankable/Abstract/MIDIFilteredAnalog.hpp
>
5
#include <
MIDI_Senders/ContinuousCCSender.hpp
>
6
7
BEGIN_CS_NAMESPACE
8
9
namespace
Bankable
{
10
22
class
CCPotentiometer
23
:
public
MIDIFilteredAnalog
<SingleAddress, ContinuousCCSender> {
24
public
:
39
CCPotentiometer
(
OutputBankConfig<>
config, pin_t analogPin,
40
MIDIAddress
address
)
41
:
MIDIFilteredAnalog
(
SingleAddress
{config,
address
}, analogPin, {}) {}
42
};
43
44
}
// namespace Bankable
45
46
END_CS_NAMESPACE
BankAddresses.hpp
MIDIFilteredAnalog.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
AH::FilteredAnalog< Sender::precision()>
Bankable::CCPotentiometer
A class of MIDIOutputElements that read the analog input from a potentiometer or fader,...
Definition
Bankable/CCPotentiometer.hpp:23
Bankable::CCPotentiometer::CCPotentiometer
CCPotentiometer(OutputBankConfig<> config, pin_t analogPin, MIDIAddress address)
Create a new Bankable CCPotentiometer object with the given analog pin, controller number and channel...
Definition
Bankable/CCPotentiometer.hpp:39
Bankable::MIDIFilteredAnalog
A class for potentiometers and faders that send MIDI events and can be added to a Bank.
Definition
Bankable/Abstract/MIDIFilteredAnalog.hpp:21
Bankable::MIDIFilteredAnalog< SingleAddress, ContinuousCCSender >::address
SingleAddress address
Definition
Bankable/Abstract/MIDIFilteredAnalog.hpp:89
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
Bankable
A namespace for MIDI elements that can be added to a Bank, to change their address or channel.
Definition
BankAddresses.hpp:7
Generated by
1.10.0