MIDI Control Surface library for Arduino
|
Go to the documentation of this file.
14 template <u
int8_t NumLEDs>
51 template <u
int8_t NumLEDs>
53 NoteCCLEDBarCallback<NumLEDs>> {
81 template <u
int8_t NumLEDs>
83 NoteCCLEDBarCallback<NumLEDs>> {
117 template <u
int8_t BankSize, u
int8_t NumLEDs>
119 NoteCCLEDBarCallback<NumLEDs>> {
151 template <u
int8_t BankSize, u
int8_t NumLEDs>
153 NoteCCLEDBarCallback<NumLEDs>> {
Callback class that drives a LED dot/bar display based on a note or control change value.
AH::DotBarDisplayLEDs< NumLEDs > leds
Class that listens for Control Change events and displays the velocity on an LED Bar Graph.
void dotMode()
Set the mode to dot mode.
void barMode()
Set the mode to bar mode.
A namespace for MIDI elements that can be added to a Bank, to change their address or channel.
void setMode(DotBarMode mode)
Set the mode to either dot or bar mode.
void setMode(AH::DotBarMode mode)
Set the mode to either dot or bar mode.
void barMode()
Set the mode to bar mode.
NoteCCLEDBarCallback< NumLEDs > callback
#define BEGIN_CS_NAMESPACE
void dotMode()
Set the mode to dot mode.
void begin() const
Initialize (set LED pins as outputs).
void barMode()
Set the mode to bar mode.
Class that listens for Note events and displays the velocity on an LED Bar Graph.
void dotMode()
Set the mode to dot mode.
void barMode()
Set the mode to bar mode.
NoteLEDBar(const AH::DotBarDisplayLEDs< NumLEDs > &leds, MIDICNChannelAddress address)
CCLEDBar(const AH::DotBarDisplayLEDs< NumLEDs > &leds, MIDICNChannelAddress address)
void update(const INoteCCValue &t, uint8_t) override
A type-safe utility class for saving a MIDI address consisting of a 7-bit address,...
Class that listens for Control Change events and displays the velocity on an LED Bar Graph.
void setMode(AH::DotBarMode mode)
Set the mode to either dot or bar mode.
void dotMode()
Set the mode to dot mode.
void setMode(AH::DotBarMode mode)
Set the mode to either dot or bar mode.
void barMode()
Set the mode to bar mode.
void setMode(AH::DotBarMode mode)
Set the mode to either dot or bar mode.
void begin(const INoteCCValue &t) override
Class that listens for Note events and displays the velocity on an LED Bar Graph.
void barMode()
Set the mode to bar mode.
A struct for selecting the bank of BankableMIDIInputs and the bank type.
void dotMode()
Set the mode to dot mode.
void dotMode()
Set the mode to dot mode.
void display(uint8_t value) const
Display the given number of LEDs on the LED bar.
virtual uint8_t getValue(uint8_t index) const =0
NoteCCLEDBarCallback(const AH::DotBarDisplayLEDs< NumLEDs > &leds)
void setMode(AH::DotBarMode mode)
Set the mode to either dot or bar mode.
DotBarMode
An enumeration type to set an LED display to either bar or dot mode.
NoteLEDBar(const BankConfig< BankSize > &config, const AH::DotBarDisplayLEDs< NumLEDs > &leds, const MIDICNChannelAddress &address)
virtual void updateAll(const INoteCCValue ¬eccval)
CCLEDBar(const BankConfig< BankSize > &config, const AH::DotBarDisplayLEDs< NumLEDs > &leds, const MIDICNChannelAddress &address)