Hi Pettor, my answer most probably won’t be of use, but the whole subject is interesting to me.
Under WinRT, Windows sets the keybed midi output port of our Keylab friendly name to “Midi”. I’m not even sure if WinRT is to blame here, or Arturia.
Now, Cubase, for reasons again I don’t know, instead of bringing this friendly name (friendly name is actually how it’s set in windows registry) doubles the daw port friendly name, so now we have two “DAW” midi output ports.
My script is searching for ports (input and output) with names containing “DAW” and since in the midi outputs there are actually two of them, the midi remote API cannot differentiate and the automatic recognition of ports is aborted.
Furthermore, if you try to setup the controller ports manually (outside of the script) you will see just one midi output entry “DAW”. This is unfortunate, because even if you choose it, Cubase midi will run into conflicts, and I never show it working as expected.
There is a small “hack” we can do, to prevent this nasty issue, but it’s not something I would advice anyone to do, I’ve tried it and it works in Cubase 12 but NOT in Cubase 13 (0.40).
The idea is to find the friendly name of the keybed midi output port key in the registry of Windows, and instead of “MIDI”, set it to something more meaningful, for example “Keylab Port 1”.
I can provide more info on how exactly to do this, but the thing is that upon every system restart or even when we turn our Keylab On/Off, this friendly name will return to “Midi”. This means, that each time we have to edit this registry key. One can have an external script performing this operation. But when we think about it, is it really worth it?
I personally never used my Keylab in WinRT, but at the same time, I never turn on/off my controllers while working in the DAW. So I never had real issues with disconnections, well known in this forum, and as far as I can tell in the 0.40 version there has been an attempt to fix this without WinRT.
If you ask me, I think that the future is with WinRT but it still needs work and in the mean time, I’m just avoiding it.