Hi,
I made a simple midi controller with one button and a potentiometer.
My question is: how can I limit the potentiometer velocity to 100 instead of default 127?
The sketch:
#include <MIDI_Controller.h> // This lets the microcontroller speak "MIDI"
const uint8_t velocity = 0b1111111; // This sets default velocity to 100% (127 value)
const uint8_t C4 = 60; // Name the note you want to play when the button is pushed(can be anything, C3...D5...E2)
Digital button1(2, C4, 1, velocity); // Format is this: button[number] (pin, note, channel, velocity)
Analog potentiometer1(A0, MIDI_CC::Channel_Volume, 1);
Thanks!