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

help send midi note on the fader and encoders ?

Open davidgauze opened this issue 1 year ago • 5 comments

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 }

davidgauze avatar Feb 11 '23 01:02 davidgauze