#include <VULEDs.hpp>
Public Member Functions | |
| VULEDs (const PinList< NumLEDs > &ledPins, uint8_t track, unsigned int decayTime=VUDecay::Default) | |
| VULEDs (const PinList< NumLEDs > &ledPins, uint8_t track, MIDICNChannel channelCN, unsigned int decayTime=VUDecay::Default) | |
| void | begin () override | 
| Initialize.  More... | |
| void | reset () override | 
| Reset all values to zero.  More... | |
| uint8_t | getValue () override | 
| Return the VU meter value as an integer in [0, 12].  More... | |
| bool | getOverload () override | 
| Return the overload status.  More... | |
| void | update () override | 
| Update is called periodically, it decays the meter if the time is right.  More... | |
| bool | updateWith (const ChannelMessageMatcher &midimsg) | 
| Receive a new MIDI message and update the internal state.  More... | |
| virtual float | getFloatValue () | 
| Get the VU meter value as a floating point number.  More... | |
| uint8_t | getMax () const | 
| Get the maximum value that this VU meter can return.  More... | |
Static Public Member Functions | |
| static void | beginAll () | 
| static void | resetAll () | 
| Reset all MIDIInputElementChannelPressure elements to their initial state.  More... | |
| static void | updateAll () | 
| Update all MIDIInputElementChannelPressure elements.  More... | |
| static void | updateAllWith (const ChannelMessageMatcher &midimsg) | 
| Update all MIDIInputElementChannelPressure elements with a new MIDI message.  More... | |
Public Attributes | |
| VULEDsCallback< NumLEDs > | callback | 
Protected Attributes | |
| const MIDICNChannelAddress | address | 
| MIDIInputElementChannelPressure * | next | 
| MIDIInputElementChannelPressure * | previous | 
| const uint8_t | max | 
Private Member Functions | |
| uint8_t | getValue (uint8_t index) const | 
| Get the VU meter value from the raw value.  More... | |
| bool | getOverload (uint8_t index) const | 
| Get the overload status value from the raw value.  More... | |
| bool | updateImpl (const ChannelMessageMatcher &midimsg, const MIDICNChannelAddress &target) override | 
| Called when an incoming MIDI message matches this element.  More... | |
| MIDICNChannelAddress | getTarget (const ChannelMessageMatcher &midimsg) const override | 
| The address of the VU meter is the high nibble of the first (and only) data byte.  More... | |
| void | decay () | 
| virtual uint8_t | getSelection () const | 
| Get the active bank selection.  More... | |
| virtual setting_t | getBankIndex (const MIDICNChannelAddress &target) const | 
| Get the bank index from a MIDI address.  More... | |
| void | setValue (uint8_t index, uint8_t newValue) | 
| Set the VU meter value.  More... | |
| void | setOverload (uint8_t index) | 
| Set the overload status.  More... | |
| void | clearOverload (uint8_t index) | 
| Clear the overload status.  More... | |
| void | moveDown () | 
| Move down this element in the linked list of elements.  More... | |
| virtual bool | match (const MIDICNChannelAddress &target) const | 
| Check if the address of the incoming MIDI message matches an address of this element.  More... | |
Private Attributes | |
| Array< uint8_t, NumValues > | values | 
| unsigned int | decayTime | 
| unsigned long | prevDecayTime | 
Static Private Attributes | |
| static DoublyLinkedList< MIDIInputElementChannelPressure > | elements | 
Definition at line 35 of file VULEDs.hpp.
      
  | 
  inline | 
Definition at line 37 of file VULEDs.hpp.
      
  | 
  inline | 
Definition at line 46 of file VULEDs.hpp.
      
  | 
  inlineoverridevirtualinherited | 
      
  | 
  inlineoverridevirtualinherited | 
Reset all values to zero.
Reimplemented from MIDIInputElement.
      
  | 
  inlineoverridevirtualinherited | 
      
  | 
  inlineprivateinherited | 
      
  | 
  inlineoverridevirtualinherited | 
      
  | 
  inlineprivateinherited | 
      
  | 
  inlineoverridevirtualinherited | 
Update is called periodically, it decays the meter if the time is right.
Reimplemented from MIDIInputElement.
      
  | 
  inlineoverrideprivatevirtualinherited | 
Called when an incoming MIDI message matches this element.
Implements MIDIInputElement.
      
  | 
  inlineoverrideprivatevirtualinherited | 
The address of the VU meter is the high nibble of the first (and only) data byte.
Reimplemented from MIDIInputElementChannelPressure.
      
  | 
  inlineprivateinherited | 
      
  | 
  inlineprivatevirtualinherited | 
      
  | 
  inlineprivatevirtualinherited | 
      
  | 
  inlineprivateinherited | 
      
  | 
  inlineprivateinherited | 
      
  | 
  inlineprivateinherited | 
      
  | 
  inlinestaticinherited | 
Definition at line 38 of file MIDIInputElementChannelPressure.hpp.
      
  | 
  inlinestaticinherited | 
Reset all MIDIInputElementChannelPressure elements to their initial state.
Definition at line 50 of file MIDIInputElementChannelPressure.hpp.
      
  | 
  inlinestaticinherited | 
Update all MIDIInputElementChannelPressure elements.
Definition at line 59 of file MIDIInputElementChannelPressure.hpp.
      
  | 
  inlinestaticinherited | 
Update all MIDIInputElementChannelPressure elements with a new MIDI message.
Definition at line 71 of file MIDIInputElementChannelPressure.hpp.
      
  | 
  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 96 of file MIDIInputElementChannelPressure.hpp.
      
  | 
  inlineinherited | 
Receive a new MIDI message and update the internal state.
Definition at line 39 of file MIDIInputElement.hpp.
      
  | 
  inlineprivatevirtualinherited | 
Check if the address of the incoming MIDI message matches an 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.
      
  | 
  inlinevirtualinherited | 
      
  | 
  inlineinherited | 
      
  | 
  privateinherited | 
      
  | 
  privateinherited | 
      
  | 
  privateinherited | 
      
  | 
  inherited | 
      
  | 
  staticprivateinherited | 
Definition at line 101 of file MIDIInputElementChannelPressure.hpp.
      
  | 
  protectedinherited | 
Definition at line 80 of file MIDIInputElement.hpp.
      
  | 
  protectedinherited | 
Definition at line 305 of file LinkedList.hpp.
      
  | 
  protectedinherited | 
Definition at line 306 of file LinkedList.hpp.
 1.8.16