Hello, i'm trying to use a Midi controller (i built it) with my Kemper, but i can't make it to work.
I tried several codes and nothing seemed to work.
I don't know what i'm doing wrong, the controller works fine on PC via USB, but does nothing when i connect it to the kemper via MIDI.
This is (more or less, i'm using more buttons) the schematic of my controller.
As i said, it works like a charm via USB, and i tried several codes to make it work via midi and nothing worked, nor ControlChanges not ProgramChanges.
I'm not a programmer, so i have no idea what i'm doing wrong.
I'm thinking on trying this Kemper Profiler Arduino Library and DIY Kemper Remote, but i'm not sure if that's what i need.
This is the last code i tried (simple, 2 buttons).
#include <MIDI.h>
#include <midi_Defs.h>
#include <midi_Message.h>
#include <midi_Namespace.h>
#include <midi_Settings.h>
const int buttonOne = 2; // asignamos boton a la variable
const int buttonTwo = 3; // asignamos boton a la variable
MIDI_CREATE_INSTANCE(HardwareSerial,Serial, midiOut); // create a MIDI object called midiOut
void setup() {
pinMode(buttonOne,INPUT); // configuracion del boton1 como una entrada
pinMode(buttonTwo,INPUT); // configuracion del boton2 como una entrada
Serial.begin(115200); // configuracion MIDI de salida
}
void loop() {
if(digitalRead(buttonOne) == HIGH) { // comprobacion de estado
delay(10); // retraso
if(digitalRead(buttonOne) == HIGH) { // comprobacion de estado de nuevo
midiOut.sendControlChange(56,127, 1); // envío un MIDI CC -- 56 = nota, 127 = velocidad, 1 = canal
delay(250);
}
}
if(digitalRead(buttonTwo) == HIGH) { // comprobacion de estado
delay(10); // retraso
if(digitalRead(buttonTwo) == HIGH) { // nueva comprobacion de estado
midiOut.sendControlChange(42, 127, 1); // envío un MIDI CC -- 42 = nota, 127 = velocidad, 1 = canal
delay(250);
}
}
}
Display More
Hope any of you can help me make it work.
Thanks!