Control Surface master
MIDI Control Surface library for Arduino
Public Member Functions | Public Attributes | List of all members
VPotMatcher Struct Reference

#include <MIDI_Inputs/MCU/VPotRing.hpp>

Detailed Description

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

The display modes are defined in MCU::VPotState::Mode.

Definition at line 108 of file VPotRing.hpp.

+ Inheritance diagram for VPotMatcher:
+ Collaboration diagram for VPotMatcher:

Public Member Functions

 VPotMatcher (uint8_t track, MIDIChannelCable channelCN)
 Constructor. More...
 
Result operator() (ChannelMessage m)
 

Public Attributes

MIDIAddress address
 

Constructor & Destructor Documentation

◆ VPotMatcher()

VPotMatcher ( uint8_t  track,
MIDIChannelCable  channelCN 
)
inline

Constructor.

Parameters
trackThe track of the VPot [1, 8].
channelCNThe MIDI channel [CHANNEL_1, CHANNEL_16] and Cable Number [CABLE_1, CABLE_16].

Definition at line 118 of file VPotRing.hpp.

Member Function Documentation

◆ operator()()

Result operator() ( ChannelMessage  m)
inlineinherited

Definition at line 45 of file MIDIInputElementMatchers.hpp.

Member Data Documentation

◆ address

MIDIAddress address
inherited

Definition at line 53 of file MIDIInputElementMatchers.hpp.


The documentation for this struct was generated from the following file: