I have an SSL Pro 990 keyboard, just 88 keys with pitch bend and mod wheel. The mod wheel though is faulty and sporadically ruins automation during playing and recording. Aside from chainsawing off the end of the keyboard (has been given serious consideration) I was hoping that I could mod the Generic Keyboard script to ignore the controller. I was also sure to get a unique UUID for the script. Here is what I tried:
loadAPI(1);
host.defineController("SSL-990PRO", "SSL 990 Keyboard", "1.0", "3657b590-ee11-11e4-b80c-0800200c9a66");
host.defineMidiPorts(1, 0);
var LOWEST_CC = 85;
var HIGHEST_CC = 90;
function init()
{
host.getMidiInPort(0).setMidiCallback(onMidi);
generic = host.getMidiInPort(0).createNoteInput("SSL-990PRO", "??????");
generic.setShouldConsumeEvents(false);
// Make CCs 85-90 freely mappable
userControls = host.createUserControlsSection(HIGHEST_CC - LOWEST_CC + 1);
for(var i=LOWEST_CC; i<=HIGHEST_CC; i++)
{
userControls.getControl(i - LOWEST_CC).setLabel("CC" + i);
}
}
function onMidi(status, data1, data2)
{
if (isChannelController(status))
{
if (data1 >= LOWEST_CC && data1 <= HIGHEST_CC)
{
var index = data1 - LOWEST_CC;
userControls.getControl(index).set(data2, 128);
}
}
}
function exit()
{
}
As you can see, I am no coder, so I took the original script and just changed the CC numbers to non-assigned ones hoping it would work but no dice. It shows up for selection in bitwig and the script has been saved to the documents/bitwig studios/controller scripts/SSL-990 Pro Keyboard folder. Do you think that it just is not possible to do without getting inside the thing and snipping some wires? I think I would end up causing more harm than good if I tried that.
Any help or abuse most welcome
GonzoFB
