I'm trying to map a Sequential Pro 3 to control Repro 5 knobs and buttons. At first I tried messing around with the built in midi mapping function. That works fine for standard knobs, but didn't map well for special things like buttons and the Oct switches for example.
So I started writing a script for Logic Pro scripter midi plugin. For example, I did this to map the Osc knobs, this worked but I had to reassign the controller after updating the script:
Code: Select all
// Pro 3 - OSC 1 OCT Knob
if (event.number == 66) {
event.value = mapCCValueToKnobOctSwitch(event.value);
event.send();
}
So I tried mapping those to a virtual full range knob, and that worked.
Code: Select all
function mapCCValueToKnobOctSwitch(inputVal) {
// Map input values (1-4) to the range 0-127
switch(inputVal) {
case 1:
return 0;
case 2:
return 42;
case 3:
return 85;
case 4:
return 127;
default:
return 0;
}
}
So I added a couple of entries in the Midi Table view of Repro 5. However, I noted that I can't seem to change the Channel and Controller values manually? Is there a way to sidestep this so I can edit those values without needing to go through the Midi Learn page?
