#include <VPotRingLEDs.hpp>
|
static uint8_t | sanitizeValue (uint8_t value) |
| Make sure that the received value is valid and will not result in array out of bounds conditions. More...
|
|
|
static uint8_t | getPosition (uint8_t value) |
| Extract the position from the raw value. More...
|
|
static bool | getCenterLed (uint8_t value) |
| Extract the center LED state from the raw value. More...
|
|
static uint8_t | getMode (uint8_t value) |
| Extract the mode from the raw value. More...
|
|
Definition at line 30 of file VPotRingLEDs.hpp.
◆ VPotRingLEDs()
MCU::VPotRingLEDs::VPotRingLEDs |
( |
const PinList< 11 > & |
ledPins, |
|
|
uint8_t |
track, |
|
|
MIDICNChannel |
channelCN = CHANNEL_1 |
|
) |
| |
|
inline |
◆ begin()
|
inlineoverridevirtualinherited |
◆ reset()
|
inlineoverridevirtualinherited |
◆ sanitizeValue()
|
inlinestaticprotectedinherited |
Make sure that the received value is valid and will not result in array out of bounds conditions.
Definition at line 105 of file VPotRing.hpp.
◆ updateImpl()
|
inlineoverrideprivatevirtualinherited |
◆ getValue()
|
inlineoverrideprivatevirtualinherited |
◆ getSelection()
|
inlineprivatevirtualinherited |
Get the active bank selection.
Definition at line 121 of file VPotRing.hpp.
◆ getBankIndex()
|
inlineprivatevirtualinherited |
Get the bank index from a MIDI address.
Definition at line 124 of file VPotRing.hpp.
◆ beginAll()
static void MIDIInputElementCC::beginAll |
( |
| ) |
|
|
inlinestaticinherited |
◆ updateAll()
static void MIDIInputElementCC::updateAll |
( |
| ) |
|
|
inlinestaticinherited |
◆ resetAll()
static void MIDIInputElementCC::resetAll |
( |
| ) |
|
|
inlinestaticinherited |
◆ updateAllWith()
◆ moveDown()
void MIDIInputElementCC::moveDown |
( |
| ) |
|
|
inlineprivateinherited |
Move down this element in the linked list of elements.
This means that the element will be checked earlier on the next iteration.
Definition at line 92 of file MIDIInputElementCC.hpp.
◆ update()
virtual void MIDIInputElement::update |
( |
| ) |
|
|
inlinevirtualinherited |
Update the value of the input element. Used for decaying VU meters etc.
Reimplemented in MCU::VU_Base< NumValues, Callback >, MCU::VU_Base< NumBanks, Callback >, MCU::VU_Base< NumBanks, VULEDsCallback< NumLEDs > >, MCU::VU_Base< NumBanks, VUEmptyCallback >, MCU::VU_Base< 1, VUEmptyCallback >, MCU::VU_Base< 1, VULEDsCallback< NumLEDs > >, and MCU::VU_Base< 1, Callback >.
Definition at line 36 of file MIDIInputElement.hpp.
◆ updateWith()
◆ getTarget()
|
inlineprivatevirtualinherited |
Extract the target address from a MIDI message.
- Note
- This base version of the function is only valid for messages that use data1 as an address (i.e. Note On, Note Off, Polyphonic Key Pressure and Control Change), because it assumes that the target address consists of the address (data 1), the MIDI channel and the cable number.
Reimplemented in MCU::VU_Base< NumValues, Callback >, MCU::VU_Base< NumBanks, Callback >, MCU::VU_Base< NumBanks, VULEDsCallback< NumLEDs > >, MCU::VU_Base< NumBanks, VUEmptyCallback >, MCU::VU_Base< 1, VUEmptyCallback >, MCU::VU_Base< 1, VULEDsCallback< NumLEDs > >, MCU::VU_Base< 1, Callback >, MIDIInputElementChannelPressure, and MIDIInputElementPC.
Definition at line 64 of file MIDIInputElement.hpp.
◆ match()
|
inlineprivatevirtualinherited |
Check if the address of the incoming MIDI message matches an address of this element.
- Note
- This base version of the function is only valid for non-Bankable MIDI input elements, it only matches if the address is equal to the address of this element.
Reimplemented in MCU::Bankable::GenericVU< NumBanks, Callback >, MCU::Bankable::GenericVU< NumBanks >, MCU::Bankable::GenericVU< NumBanks, VULEDsCallback< NumLEDs > >, MCU::Bankable::GenericVPotRing< NumBanks, Callback >, MCU::Bankable::GenericVPotRing< NumBanks >, MCU::Bankable::GenericVPotRing< NumBanks, VPotRingLEDsCallback >, Bankable::GenericNoteCCRange< MIDIInputElementNote, 1, BankSize, NoteCCFastLED< ColorMapper > >, Bankable::GenericNoteCCRange< MIDIInputElementCC, 1, NumBanks >, Bankable::GenericNoteCCRange< MIDIInputElementNote, RangeLen, BankSize, NoteCCFastLED< ColorMapper > >, Bankable::GenericNoteCCRange< MIDIInputElementCC, RangeLen, BankSize, NoteCCFastLED< ColorMapper > >, Bankable::GenericNoteCCRange< MIDIInputElementCC, 1, BankSize, NoteCCLED< 1 > >, Bankable::GenericNoteCCRange< MIDIInputElementNote, RangeLen, BankSize, NoteCCLED< RangeLen > >, Bankable::GenericNoteCCRange< MIDIInputElementNote, RangeLen, NumBanks >, Bankable::GenericNoteCCRange< MIDIInputElementNote, 1, NumBanks >, Bankable::GenericNoteCCRange< MIDIInputElementNote, 1, BankSize, NoteCCLEDBarCallback< NumLEDs > >, Bankable::GenericNoteCCRange< MIDIInputElementNote, 1, BankSize, NoteCCLED< 1 > >, Bankable::GenericNoteCCRange< MIDIInputElementCC, 1, BankSize, NoteCCFastLED< ColorMapper > >, Bankable::GenericNoteCCRange< MIDIInputElementCC, 1, BankSize, NoteCCLEDBarCallback< NumLEDs > >, Bankable::GenericNoteCCRange< MIDIInputElementCC, RangeLen, BankSize, NoteCCLED< RangeLen > >, Bankable::GenericNoteCCRange< MIDIInputElementCC, RangeLen, NumBanks >, GenericNoteCCRange< MIDIInputElementCC, RangeLen, NoteCCFastLED< ColorMapper > >, GenericNoteCCRange< MIDIInputElementCC, 1, NoteCCLED< 1 > >, GenericNoteCCRange< MIDIInputElementNote, RangeLen >, GenericNoteCCRange< MIDIInputElementNote, 1, NoteCCLED< 1 > >, GenericNoteCCRange< MIDIInputElementNote, 1, NoteCCFastLED< ColorMapper > >, GenericNoteCCRange< MIDIInputElementNote, RangeLen, NoteCCLED< RangeLen > >, GenericNoteCCRange< MIDIInputElementNote, RangeLen, NoteCCFastLED< ColorMapper > >, GenericNoteCCRange< MIDIInputElementCC, 1 >, GenericNoteCCRange< MIDIInputElementCC, 1, NoteCCLEDBarCallback< NumLEDs > >, GenericNoteCCRange< MIDIInputElementCC, RangeLen, NoteCCLED< RangeLen > >, GenericNoteCCRange< MIDIInputElementNote, 1, NoteCCLEDBarCallback< NumLEDs > >, GenericNoteCCRange< MIDIInputElementNote, 1 >, GenericNoteCCRange< MIDIInputElementCC, RangeLen >, GenericNoteCCRange< MIDIInputElementCC, 1, NoteCCFastLED< ColorMapper > >, MCU::SevenSegmentDisplay< LENGTH >, MCU::SevenSegmentDisplay< AssignmentDisplayLength >, and MCU::SevenSegmentDisplay< TimeDisplayLength >.
Definition at line 75 of file MIDIInputElement.hpp.
◆ getPosition() [1/2]
uint8_t MCU::IVPotRing::getPosition |
( |
| ) |
const |
|
inlineinherited |
Return the position of the V-Pot ring. [0, 11].
Definition at line 32 of file VPotRing.hpp.
◆ getPosition() [2/2]
static uint8_t MCU::IVPotRing::getPosition |
( |
uint8_t |
value | ) |
|
|
inlinestaticprivateinherited |
Extract the position from the raw value.
Definition at line 72 of file VPotRing.hpp.
◆ getCenterLed() [1/2]
bool MCU::IVPotRing::getCenterLed |
( |
| ) |
const |
|
inlineinherited |
Return the status of the center LED of the V-Pot ring.
Definition at line 34 of file VPotRing.hpp.
◆ getCenterLed() [2/2]
static bool MCU::IVPotRing::getCenterLed |
( |
uint8_t |
value | ) |
|
|
inlinestaticprivateinherited |
Extract the center LED state from the raw value.
Definition at line 77 of file VPotRing.hpp.
◆ getMode() [1/2]
uint8_t MCU::IVPotRing::getMode |
( |
| ) |
const |
|
inlineinherited |
Return the mode of the V-Pot ring: 0 = single dot, 1 = boost/cut, 2 = wrap, 3 = spread.
Definition at line 37 of file VPotRing.hpp.
◆ getMode() [2/2]
static uint8_t MCU::IVPotRing::getMode |
( |
uint8_t |
value | ) |
|
|
inlinestaticprivateinherited |
Extract the mode from the raw value.
Definition at line 79 of file VPotRing.hpp.
◆ getStartOn()
uint8_t MCU::IVPotRing::getStartOn |
( |
| ) |
const |
|
inlineinherited |
Get the first segment that should be on.
Definition at line 40 of file VPotRing.hpp.
◆ getStartOff()
uint8_t MCU::IVPotRing::getStartOff |
( |
| ) |
const |
|
inlineinherited |
Get the first segment that should be off.
Definition at line 56 of file VPotRing.hpp.
◆ values
◆ callback
◆ elements
◆ address
◆ next
◆ previous
The documentation for this class was generated from the following file: