This is an old version of the documentation. View the latest version here.
Control Surface  1.0.0
MIDI Control Surface library for Arduino
ManyAddresses/CCIncrementDecrementButtons.hpp
Go to the documentation of this file.
1 #pragma once
2 
6 
8 
9 namespace Bankable {
10 namespace ManyAddresses {
25 template <setting_t N>
28  TwoManyAddresses<N>, RelativeCCSender, DigitalNoteSender> {
29  public:
58  const OutputBankConfig &config,
61  const Array<MIDICNChannelAddress, N> &resetNotes = {},
62  const RelativeCCSender &relativeSender = {},
63  const DigitalNoteSender &resetSender = {})
64  : MIDIIncrementDecrementButtons<TwoManyAddresses<N>, RelativeCCSender,
66  {config, {addresses, resetNotes}}, buttons, multiplier,
68 };
69 } // namespace ManyAddresses
70 } // namespace Bankable
71 
MIDIIncrementDecrementButtons.hpp
Bankable::MIDIIncrementDecrementButtons< TwoManyAddresses< N >, RelativeCCSender, DigitalNoteSender >::addresses
TwoManyAddresses< N > addresses
Definition: Bankable/Abstract/MIDIIncrementDecrementButtons.hpp:71
Bankable
A namespace for MIDI elements that can be added to a Bank, to change their address or channel.
Definition: BankAddresses.hpp:7
Array
An array wrapper for easy copying, comparing, and iterating.
Definition: Array.hpp:20
BankAddresses.hpp
MIDIIncrementDecrementButtons
An abstract class for two buttons that send incremental MIDI events.
Definition: Abstract/MIDIIncrementDecrementButtons.hpp:15
BEGIN_CS_NAMESPACE
#define BEGIN_CS_NAMESPACE
Definition: NamespaceSettings.hpp:9
Bankable::MIDIIncrementDecrementButtons< TwoManyAddresses< N >, RelativeCCSender, DigitalNoteSender >::relativeSender
RelativeCCSender relativeSender
Definition: Bankable/Abstract/MIDIIncrementDecrementButtons.hpp:76
Bankable::MIDIIncrementDecrementButtons
An abstract class for two buttons that send incremental MIDI events.
Definition: Bankable/Abstract/MIDIIncrementDecrementButtons.hpp:20
END_CS_NAMESPACE
#define END_CS_NAMESPACE
Definition: NamespaceSettings.hpp:10
Bankable::MIDIIncrementDecrementButtons< TwoManyAddresses< N >, RelativeCCSender, DigitalNoteSender >::multiplier
const uint8_t multiplier
Definition: Bankable/Abstract/MIDIIncrementDecrementButtons.hpp:73
RelativeCCSender.hpp
Bankable::ManyAddresses::CCIncrementDecrementButtons::CCIncrementDecrementButtons
CCIncrementDecrementButtons(const OutputBankConfig &config, const IncrementDecrementButtons &buttons, const Array< MIDICNChannelAddress, N > &addresses, uint8_t multiplier=1, const Array< MIDICNChannelAddress, N > &resetNotes={}, const RelativeCCSender &relativeSender={}, const DigitalNoteSender &resetSender={})
Construct a new Bankable CCIncrementDecrementButtons object.
Definition: ManyAddresses/CCIncrementDecrementButtons.hpp:57
IncrementDecrementButtons
A class for buttons that increment and decrement some counter or setting.
Definition: IncrementDecrementButtons.hpp:22
DigitalNoteSender
Definition: DigitalNoteSender.hpp:7
RelativeCCSender
Definition: RelativeCCSender.hpp:65
OutputBankConfig
A struct for selecting the bank of BankableMIDIOutputs and the bank type.
Definition: BankConfig.hpp:50
Bankable::ManyAddresses::CCIncrementDecrementButtons
A class of MIDIOutputElements that read the input of two momentary push buttons to increment or decre...
Definition: ManyAddresses/CCIncrementDecrementButtons.hpp:26
Bankable::MIDIIncrementDecrementButtons< TwoManyAddresses< N >, RelativeCCSender, DigitalNoteSender >::buttons
IncrementDecrementButtons buttons
Definition: Bankable/Abstract/MIDIIncrementDecrementButtons.hpp:72
Bankable::MIDIIncrementDecrementButtons< TwoManyAddresses< N >, RelativeCCSender, DigitalNoteSender >::resetSender
DigitalNoteSender resetSender
Definition: Bankable/Abstract/MIDIIncrementDecrementButtons.hpp:77