Re: [LAU] How to automatically start zita-j2a/a2j with jack?

From: Fons Adriaensen <fons@email-addr-hidden>
Date: Sun Jul 08 2018 - 15:21:36 EEST

On Sun, Jul 08, 2018 at 04:42:19AM -0700, Steven Kruyswijk wrote:
 
> 1. ask Qjackctl to execute the following script after startup:
>
> sleep 5
> zita-j2a -d hw:CODEC_1

No idea why this won't work, maybe you forgot the

#!/bin/bash

or to make the script executable.

> 2. execute this script:
>
> qjackctl (with auto-start)
> sleep 10
> zita-j2a -d hw:CODEC_1

This will wait for qjackctl to terminate before doing
anything else.

You could try:

qjackctl &

If this is to run standalone, why run qjackctl at all ?
Just start jack with the required parameters, e.g.:

---
#!/bin/bash
# Make sure to start from a clean state.
#
killall -9 zita-j2a
killall -9 jackd
#...
sleep 1
# Start jack and anything else required.
#
jackd -P 70 -d alsa -d hw:0,0 -r 48000 -p 256 -n 2
sleep 2
zita-j2a -d CODEC_1
#...
---
Ciao,
-- 
FA
_______________________________________________
Linux-audio-user mailing list
Linux-audio-user@lists.linuxaudio.org
https://lists.linuxaudio.org/listinfo/linux-audio-user
Received on Sun Jul 8 16:15:01 2018

This archive was generated by hypermail 2.1.8 : Sun Jul 08 2018 - 16:15:02 EEST