Control-Surface icon indicating copy to clipboard operation
Control-Surface copied to clipboard

Mackie Control - how to create 16 faders

Open NumericSpace opened this issue 2 years ago • 0 comments

Ableton Live supports a huge number of scripts for working with MIDI devices. For example, using the Mackie Control protocol, you can control 8 faders without midi mapping. However, it is necessary to increase the number of faders, well, for example, up to 16 pieces. Do you think this is possible? The same is somehow implemented in PreSonus FaderPort 16, while they write that they use Mackie (MCU).

In a word, I want to figure out how to completely get rid of midi mapping and program my midi controller so that there would be not the traditional number of channels, which is eight, but to make a large studio panel.

At the moment, I was able to run a code that allowed, without midi mapping using the Mackie Control protocol in Ableton Live, to control 8 faders + 9 faders is the master volume. How to increase this number, I did not find a solution.

Is there a document where you can see all the commands for Mackie Control, while making sure they match this amazing Control-Surface library?

//  #include <Control_Surface.h> // Include the Control Surface library

// Instantiate a MIDI over USB interface.
USBMIDI_Interface midi;


class CC14Potentiometer : public MIDIFilteredAnalog<ContinuousCCSender14<10>> {
  public:
    CC14Potentiometer(pin_t analogPin, MIDIAddress address)
      : MIDIFilteredAnalog(analogPin, address, {}) {}
};

PBPotentiometer potentiometers [] = {   
 {A0,        
  MCU::VOLUME_1},
 {A1,
  MCU::VOLUME_2},
 {A2,        
  MCU::VOLUME_3}, 
 {A3,        
  MCU::VOLUME_4}, 
 {A4,        
  MCU::VOLUME_5}, 
 {A5,        
  MCU::VOLUME_6}, 
 {A6,        
  MCU::VOLUME_7}, 
 {A7,        
  MCU::VOLUME_8},
 {A9,
  MCU::MASTER_VOLUME},
};

void setup() {
 Control_Surface.begin();
}

void loop() {
 Control_Surface.loop();
}

NumericSpace avatar Feb 05 '23 15:02 NumericSpace