Control-Surface
Control-Surface copied to clipboard
help send midi note on the fader and encoders ?
Hello, can you make an example of how to send midi note on the fader and encoders?
#include <Control_Surface.h>
USBMIDI_Interface usbmidi;
using namespace MIDI_Notes;
Notespotentiometer faders[] { // {A0, MIDI_Notes::C(4)}, // {A1, {0x01, CHANNEL_1}},
};
CCRotaryEncoder enc { { 8, 9 }, {0x10},speedMultiplier, 4, { 10, 11}, {0x20},speedMultiplier, 4,
};
void setup() { Control_Surface.begin(); // Initialize Control Surface }
void loop() { Control_Surface.loop(); // Update the Control Surface }