In Raysession I can wire up the two listen-clients to mplayer but I'd like to make mplayer do it when it loads. Thank you!
I solve such problems with jack-plumbing. It can handle regular expressions, too, so I can have it connect ports with changing names, e.g. with Audacity:
Jack-plumbing sounds ideal. I am not finding example syntax, whether it reads in a config file or how one gets it running with all the rules loaded and enforcing them. I find only the man page, and it doesn't clearly (to me) explain how a user uses it. Thank you!
I spoke too soon. Jack-plumbing's syntax has me baffled.
I have everything running the way I want. My source-client is mplayer and I want to use jack-plumbing it to connect to the two listen-clients. According to aj-snapshot, here is how things are:
I spoke too soon. Jack-plumbing's syntax has me baffled.
I have everything running the way I want. My source-client is mplayer and I want to use jack-plumbing it to connect to the two listen-clients. According to aj-snapshot, here is how things are:
How do I write my (connect ....) statements so jack-plumbing will force these connections?
mplayer likes to connect to the System Playback client when launched so I'll need to force a disconnect.
Thank you!
Look with qjackctl or with jack_lsp how mplayer's ports and your destination ports are called exactly, then I can write jack-plumbing rules for you. Probably it will be like:
What has been hanging me is knowing that mplayer picks up a different PID every time and the example syntax ("PortAudio:out.[13579]") has that ".[#####]" stuff which stumped me. It looks to force a pre-existing PID so somewhere in the "_.*" part the new PID somehow gets inserted.
A note: Before asking for help here, I did some googling and didn't find anything to help with syntax other than the man page and that's too bare-bones for my few remaining brain cells.
What has been hanging me is knowing that mplayer picks up a different PID every time and the example syntax ("PortAudio:out.[13579]") has that ".[#####]" stuff which stumped me. It looks to force a pre-existing PID so somewhere in the "_.*" part the new PID somehow gets inserted.
A note: Before asking for help here, I did some googling and didn't find anything to help with syntax other than the man page and that's too bare-bones for my few remaining brain cells.
Thank you!
jack-plumbing can use regular expressions. That's its big advantage. Try
A @reboot script runs as root. I don't recommend that. I start my scrips when logging in.
The machine is meant to hit the ground running when restarted, unattended, without anyone needing to log in. If there's another way to run the script I don't know what it is.
I've forgotten why I restart jack-plumbing when it stops.
The machine is meant to hit the ground running when restarted, unattended, without anyone needing to log in. If there's another way to run the script I don't know what it is.
Hmm, I'm not sure I understand here: is your machine running "headless" (no X / Wayland session running)?
My recording machine is set to log me in without a password on boot, which means that processes launced at X / desktop manager startup are similar to @root jobs, except that they run as me, rather than as root, which I find an overall win.
Ubuntu, Mixbus32C; acoustic blues / country / jazz