This commit is contained in:
Volker Fischer 2019-09-23 18:15:52 +02:00
parent 94f1e0458d
commit b07a37dcfd

View file

@ -67,13 +67,12 @@ echo "Using USB audio device: ${ADEVICE}"
# start Jack2 and Jamulus in headless mode
export LD_LIBRARY_PATH="distributions/${OPUS}/.libs:distributions/jack2/build:distributions/jack2/build/common"
PATH=$PATH:distributions/jack2/build/common
distributions/jack2/build/jackd -P70 -p16 -t2000 -d alsa -dhw:${ADEVICE} -p 128 -n 3 -r 48000 -s &
if [ "$1" == "opt" ]; then
./Jamulus -n -j -c jamulus.fischvolk.de &>/dev/null &
sleep 1
./distributions/fluidsynth/build/src/fluidsynth -s -i -a jack -g 1 distributions/fluidsynth/claudio_piano.sf2 &>/dev/null &
./distributions/fluidsynth/build/src/fluidsynth -s -i -a jack -g 1 distributions/fluidsynth/build/claudio_piano.sf2 &>/dev/null &
sleep 3
./distributions/jack2/build/example-clients/jack_connect "Jamulus:output left" system:playback_1
./distributions/jack2/build/example-clients/jack_connect "Jamulus:output right" system:playback_2