[Jack-Devel] Linking apps together from script

Lieven Moors lievenmoors at gmail.com
Fri Jul 29 22:00:31 CEST 2016

On Tue, Jul 26, 2016 at 11:16:18AM -0700, james-rpf wrote:
> Hi,
> I'm trying to get receive audio data from a USB software defined radio and
> pipe it through jack to alsa out and also to another app dl-fldigi.
> It's working (off a fashion) using this hacky script
> https://gist.github.com/jrobinson-uk/123daebd8ff58d636ba02da9dfd7f3e1 which
> basically 
> starts the jack server
> starts the 3 apps to link (mplayer --> alsa_out --> dl-fldigi)
> links mplayer to alsa then also to dl-fldigi
> I have 2 questions:
> Some of the apps either crash occasionally (dl-fldigi) or their is a case
> for restarting them (mplayer), at the moment I have to recreate the
> connections each time an app closes. Is it possible to create the
> connections first and have them persist, then connect the apps when they are
> (re)started?

You could set up the connections once with either qjackctl or
aj-snapshot (command-line app), and have them automatically be
recreated. In qjackctl you would create a patch, and load it.
With aj-snapshot, you would have to run it in daemon mode.


More information about the Jackaudio mailing list