#include <MIDI_Inputs/MCU/VPotRing.hpp>
MIDI Input matcher for Mackie Control Universal VPot LED rings.
In the Mackie Control Universal protocol, the VPot LED rings are updated using Control Change events.
Each device (cable number) has eight VPots for the eight tracks. Only MIDI channel 1 is used in the original protocol.
The format of the MIDI message is as follows:
Status | Data 1 | Data 2 |
---|---|---|
1011 cccc | 0011 0ttt | 0pxx vvvv |
1011
(or 0xB
) is the status for Control Change eventscccc
is the MIDI channel [0-15]ttt
is the track index [0-7]p
is the state of the center LEDxx
is the display modevvvv
is the VPot value [0, 11]The display modes are defined in MCU::VPotState::Mode.
Definition at line 108 of file VPotRing.hpp.
Public Member Functions | |
VPotMatcher (uint8_t track, MIDIChannelCable channelCN) | |
Constructor. | |
Result | operator() (ChannelMessage m) |
Public Attributes | |
MIDIAddress | address |
|
inline |
Constructor.
track | The track of the VPot [1, 8]. |
channelCN | The MIDI channel [Channel_1, Channel_16] and Cable Number [Cable_1, Cable_16]. |
Definition at line 118 of file VPotRing.hpp.
|
inlineinherited |
Definition at line 45 of file MIDIInputElementMatchers.hpp.
|
inherited |
Definition at line 53 of file MIDIInputElementMatchers.hpp.