Control Surface
main
MIDI Control Surface library for Arduino
Toggle main menu visibility
Loading...
Searching...
No Matches
src
MIDI_Outputs
Bankable
Bankable/CCIncrementDecrementButtons.hpp
Go to the documentation of this file.
1
#pragma once
2
3
#include <
Banks/BankAddresses.hpp
>
4
#include <
MIDI_Outputs/Bankable/Abstract/MIDIIncrementDecrementButtons.hpp
>
5
#include <
MIDI_Senders/RelativeCCSender.hpp
>
6
7
BEGIN_CS_NAMESPACE
8
9
namespace
Bankable
{
10
21
class
CCIncrementDecrementButtons
22
:
public
MIDIIncrementDecrementButtons
<DualAddresses, RelativeCCSender,
23
DigitalNoteSender> {
24
public
:
52
CCIncrementDecrementButtons
(
OutputBankConfig<>
config,
53
AH::IncrementDecrementButtons
buttons
,
54
MIDIAddress
address, uint8_t
multiplier
= 1,
55
MIDIAddress
resetNote =
MIDIAddress::invalid
(),
56
const
RelativeCCSender
&
relativeSender
= {},
57
const
DigitalNoteSender
&
resetSender
= {})
58
:
MIDIIncrementDecrementButtons
<DualAddresses,
RelativeCCSender
,
59
DigitalNoteSender
>(
60
{config, {address, resetNote}},
buttons
,
multiplier
,
61
relativeSender
,
resetSender
) {}
62
};
63
64
}
// namespace Bankable
65
66
END_CS_NAMESPACE
BankAddresses.hpp
MIDIIncrementDecrementButtons.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
AH::IncrementDecrementButtons
A class for buttons that increment and decrement some counter or setting.
Definition
IncrementDecrementButtons.hpp:22
Bankable::CCIncrementDecrementButtons::CCIncrementDecrementButtons
CCIncrementDecrementButtons(OutputBankConfig<> config, AH::IncrementDecrementButtons buttons, MIDIAddress address, uint8_t multiplier=1, MIDIAddress resetNote=MIDIAddress::invalid(), const RelativeCCSender &relativeSender={}, const DigitalNoteSender &resetSender={})
Construct a new Bankable CCIncrementDecrementButtons object.
Definition
Bankable/CCIncrementDecrementButtons.hpp:52
Bankable::MIDIIncrementDecrementButtons< DualAddresses, RelativeCCSender, DigitalNoteSender >::resetSender
DigitalNoteSender resetSender
Definition
Bankable/Abstract/MIDIIncrementDecrementButtons.hpp:83
Bankable::MIDIIncrementDecrementButtons< DualAddresses, RelativeCCSender, DigitalNoteSender >::multiplier
const uint8_t multiplier
Definition
Bankable/Abstract/MIDIIncrementDecrementButtons.hpp:79
Bankable::MIDIIncrementDecrementButtons< DualAddresses, RelativeCCSender, DigitalNoteSender >::buttons
AH::IncrementDecrementButtons buttons
Definition
Bankable/Abstract/MIDIIncrementDecrementButtons.hpp:78
Bankable::MIDIIncrementDecrementButtons< DualAddresses, RelativeCCSender, DigitalNoteSender >::MIDIIncrementDecrementButtons
MIDIIncrementDecrementButtons(DualAddresses addresses, const AH::IncrementDecrementButtons &buttons, uint8_t multiplier, const RelativeCCSender &relativeSender, const DigitalNoteSender &resetSender)
Definition
Bankable/Abstract/MIDIIncrementDecrementButtons.hpp:26
Bankable::MIDIIncrementDecrementButtons< DualAddresses, RelativeCCSender, DigitalNoteSender >::relativeSender
RelativeCCSender relativeSender
Definition
Bankable/Abstract/MIDIIncrementDecrementButtons.hpp:82
DigitalNoteSender
Class that sends MIDI note on and off messages.
Definition
DigitalNoteSender.hpp:12
MIDIAddress
A type-safe utility class for saving a MIDI address consisting of a 7-bit address,...
Definition
MIDIAddress.hpp:145
MIDIAddress::invalid
static constexpr MIDIAddress invalid()
Return an invalid address.
Definition
MIDIAddress.hpp:250
MIDIIncrementDecrementButtons
An abstract class for two buttons that send incremental MIDI events.
Definition
Abstract/MIDIIncrementDecrementButtons.hpp:15
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.17.0