Oh, I forgot some vital information. Sorry about that.
So, MIDI ports. You'll need to configure 2 MIDI ports in OSC: one to receive notes from your DP-2000 and another one to send MIDI from OSC to Cubase. The way it works is: your DP-2000 device send notes to OSC; OSC transform and send them to Cubase.
(I'm answering based on your first reply, but I know you figured some things on your EDITs)
For this. I'd set up the
midi prop in server like so:
Note about this approach: using
-1 as input/output bypass it. So in
HDP OSC is not sending notes to your hardware and in
midiToCubase OSC is not receiving from Cubase. Also, this avoid errors if any port is disconnected and change the port numbers.
This is not right. As I said before, change the value of the
midi_port_name widget (find it in the tree). And now, it should be named after the new midi server configuration (in this example
The picture is showing
drum_pad.onCreate. It should be
note_hardware_transformer. Find it in the tree as well. It's a variable. But since your DP-2000 can't change the notes, use just this line of code instead:
locals.hardwareNotes = [20, 22, 24, 26, 28, 30, 32, 34]
The correct port name now would be
HDP (the same name used in the midi server config)
Hope it works this time. Let me know if you have any issues.