This is the code I used for my specific MIDI controller.
Create a custom mapping using the MIDI learn option in your DAW.
const int speedMultiplier = 1;
};
};
};
};
{1, 0},
speedMultiplier,
4,
};
void setup() {
}
void loop() {
}
constexpr PinMode_t OUTPUT
@ ChangeAddress
Change the offset of the address (i.e.
@ ChangeChannel
Change the offset of the channel number of the element.
constexpr Channel Channel_3
constexpr Channel Channel_1
constexpr Channel Channel_2
constexpr Channel Channel_4
The main header file that includes all Control-Surface header files.
Control_Surface_ & Control_Surface
A predefined instance of the Control Surface to use in the Arduino sketches.
A class that groups Bankable MIDI Output Elements and Bankable MIDI Input Elements,...
A class of MIDIOutputElements that read the analog input from a potentiometer or fader,...
A class of MIDIOutputElements that read the analog input from a potentiometer or fader,...
A class of MIDIOutputElements that read the input of a quadrature (rotary) encoder and send out relat...
void begin()
Initialize the Control_Surface.
void loop()
Update all MIDI elements, send MIDI events and read MIDI input.
Selector that selects one of two settings, based on the state of a toggle or momentary switch.
A class for MIDI interfaces sending MIDI messages over a USB MIDI connection.
void pinMode(pin_t pin, PinMode_t mode)
An ExtIO version of the Arduino function.
PinStatus_t digitalRead(pin_t pin)
An ExtIO version of the Arduino function.
void digitalWrite(pin_t pin, PinStatus_t val)
An ExtIO version of the Arduino function.
constexpr uint8_t MUTE_1
Mute 1 (In/Out)
constexpr uint8_t MUTE_4
Mute 4 (In/Out)
constexpr uint8_t MUTE_2
Mute 2 (In/Out)
constexpr uint8_t MUTE_3
Mute 3 (In/Out)
constexpr uint8_t General_Purpose_Controller_5
constexpr uint8_t General_Purpose_Controller_3
constexpr uint8_t General_Purpose_Controller_1
constexpr uint8_t Channel_Volume
constexpr uint8_t General_Purpose_Controller_2
constexpr uint8_t General_Purpose_Controller_4