dsacre/mididings

Connect to jack-rt ports with their alias

Opened this issue · 0 comments

rralf commented

[sent that message twice to the ML and subscribed to it, but messages don't show up there]

Hi,

I'd like to subscribe to jack midi ports by using their aliases, as port
names might change.

E.g., jack-lsp -lA reports:

[...]
system:midi_capture_3
   alsa_pcm:Arturia-KeyStep-32/midi_playback_1
   Arturia-KeyStep-32:midi/playback_1
	port playback latency = [ 0 0 ] frames
	port capture latency = [ 0 0 ] frames

I can establish the connection if I use 'system:midi_capture_3' in
mididings, but if I use 'alsa_pcm:Arturia-KeyStep-32/midi_playback_1' or
'Arturia-KeyStep-32:midi/playback_1', it fails:

warning: regular expression 'alsa_pcm:Arturia-KeyStep-32/midi_playback_1' didn't match any JACK MIDI ports

Even wildcards, like '.*Arturia.*', won't establish the connection.

Any suggestions?

Thanks!
Ralf