Re: [Jack-Devel] Linking apps together from script

PrevNext  Index
DateFri, 29 Jul 2016 22:00:31 +0200
From Lieven Moors <[hidden] at gmail dot com>
To[hidden] at lists dot jackaudio dot org
In-Reply-Tojames-rpf [Jack-Devel] Linking apps together from script
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.

lieven
PrevNext  Index

1469822462.16020_0.ltw:2,a <20160729200031.GB4357 at satellite>