jack_disconnect on ports with spaces

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi list,

I have a script that needs to disconnect various jack connections. Works
fine with client/port names without spaces, like this:

jack_disconnect pure_data_0:output0 system:playback_1

Other port names (specifically, ALSA MIDI port names) however have
spaces in them and don't seem to work with jack_disconnect. Have tried
putting quotes around the names, eg.

jack_disconnect 'Pure Data:PureData Midi-Out 1' 'Hammerfall DSP:HDSP
MIDI 1'

and 

jack_disconnect 'Pure Data':'PureData Midi-Out 1' 'Hammerfall DSP':'HDSP
MIDI 1'

Tried double-quotes too as well as underscore characters between the
words but none of these techniques work unfortunately. They result in
error messages like this:

ERROR Hammerfall DSP:HDSP MIDI 1 not a valid port

Nor have i found a way to rename the ports.

Some more detail:

In qjackctl, these ALSA client and port names include numbers. eg.

129:Pure Data

and the port:

1:Pure Data Midi-Out

The HDSP has this too:

20:Hammerfall DSP

and 

0:HDSP MIDI 1

I've tried I think all the permutations of names with numbers, numbers
without names and names and numbers together but I can get none to work;

Any suggestions?

Cheers,

Iain

_______________________________________________
Linux-audio-user mailing list
Linux-audio-user@xxxxxxxxxxxxxxxxxxxx
http://lists.linuxaudio.org/listinfo/linux-audio-user


[Index of Archives]     [Linux Sound]     [ALSA Users]     [Pulse Audio]     [ALSA Devel]     [Sox Users]     [Linux Media]     [Kernel]     [Photo Sharing]     [Gimp]     [Yosemite News]     [Linux Media]

  Powered by Linux