If you know some JavaScript, you could use my midivent library to
write you an intermediate between the MIDI controller and your
Synth/VST. I'm working on something similar for my DSI Tetra, but
that thing has grown rather big and is not (yet) open source.
midivent is available on github,
http://github.com/hanshuebner/midivent - Documentation is available at
http://vaxbusters.org/midivent/all.html - The build process is a bit
involved, but I can make a MacOS binary available if there is any
interest.
From the manual, this is how MIDI ports are opened and messages are sent
var MIDI = require('MIDI');
var midiOutput = new MIDI.MIDIOutput();
console.log("opened MIDI output port", midiOutput.portName);
midiOutput.channel(3); // Set output channel 3
midiOutput.controlChange(0, 10); // Select bank 10 (CC0)
midiOutput.channel(4); // Set output channel 4
midiOutput.controlChange(7, 80); // Set volume to 80 (CC7)
and received:
var MIDI = require('MIDI');
var midiInput = new MIDI.MIDIInput();
console.log("opened MIDI input port", midiOutput.portName);
midiInput.on('noteOn',
function (pitch, velocity, channel) {
console.log('note', MIDI.pitchToNote(pitch),
'velocity', velocity,
'channel', channel);
});
Don't hesitate to contact me if you have questions.
Cheers,
Hans