Control Surface main
MIDI Control Surface library for Arduino
Loading...
Searching...
No Matches
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
  • 1011 (or 0xB) is the status for Control Change events
  • cccc is the MIDI channel [0-15]
  • ttt is the track index [0-7]
  • p is the state of the center LED
  • xx is the display mode
  • vvvv is the VPot value [0, 11]

The display modes are defined in 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.
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: