From ea5c92f74676a8b613108011f9652fb0ad9643a7 Mon Sep 17 00:00:00 2001 From: Volker Fischer Date: Tue, 24 Sep 2019 16:25:10 +0200 Subject: [PATCH] added hyperion support --- distributions/raspijamulus.sh | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/distributions/raspijamulus.sh b/distributions/raspijamulus.sh index 4f2422c3..7b031561 100755 --- a/distributions/raspijamulus.sh +++ b/distributions/raspijamulus.sh @@ -88,6 +88,11 @@ if [ "$1" == "opt" ]; then ./distributions/jack2/build/example-clients/jack_connect fluidsynth:right "Jamulus:input right" aconnect 'USB-MIDI' 128 + # if hyperion is installed, set red color + if [ ! -z "$(command -v hyperion-remote)" ]; then + hyperion-remote -c red + fi + # watchdog: if MIDI device is turned off, shutdown Jamulus while [ ! -z "$(amidi -l|grep "USB-MIDI")" ]; do sleep 1 @@ -96,6 +101,12 @@ if [ "$1" == "opt" ]; then killall fluidsynth echo "Cleaned up jackd, Jamulus and fluidsynth" + # if hyperion is installed, reset color + if [ ! -z "$(command -v hyperion-remote)" ]; then + hyperion-remote --color black + hyperion-remote --clearall + fi + else ./Jamulus -n -c jamulus.fischvolk.de fi