[LAU] jack_disconnect on ports with spaces

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: <linux-audio-user@...>
Date: Monday, February 20, 2012 - 9:09 am

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@lists.linuxaudio.org
http://lists.linuxaudio.org/listinfo/linux-audio-user

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[LAU] jack_disconnect on ports with spaces, Iain Mott, (Mon Feb 20, 9:09 am)
Re: [LAU] jack_disconnect on ports with spaces, R. Mattes, (Mon Feb 20, 10:23 am)
Re: [LAU] jack_disconnect on ports with spaces, Julien Claassen, (Mon Feb 20, 9:19 am)
Re: [LAU] jack_disconnect on ports with spaces, Iain Mott, (Mon Feb 20, 10:01 am)
Re: [LAU] jack_disconnect on ports with spaces, Julien Claassen, (Mon Feb 20, 10:03 am)
Re: [LAU] jack_disconnect on ports with spaces, Iain Mott, (Mon Feb 20, 10:36 am)
Re: [LAU] jack_disconnect on ports with spaces, David Adler, (Mon Feb 20, 11:11 am)
Re: [LAU] jack_disconnect on ports with spaces, Julien Claassen, (Mon Feb 20, 10:39 am)
Re: [LAU] jack_disconnect on ports with spaces, Iain Mott, (Mon Feb 20, 11:19 am)
Re: [LAU] jack_disconnect on ports with spaces, Julien Claassen, (Mon Feb 20, 11:21 am)
Re: [LAU] jack_disconnect on ports with spaces, Arnold Krille, (Wed Feb 22, 11:05 pm)