added hyperion support
This commit is contained in:
parent
cce367c665
commit
ea5c92f746
1 changed files with 11 additions and 0 deletions
|
@ -88,6 +88,11 @@ if [ "$1" == "opt" ]; then
|
||||||
./distributions/jack2/build/example-clients/jack_connect fluidsynth:right "Jamulus:input right"
|
./distributions/jack2/build/example-clients/jack_connect fluidsynth:right "Jamulus:input right"
|
||||||
aconnect 'USB-MIDI' 128
|
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
|
# watchdog: if MIDI device is turned off, shutdown Jamulus
|
||||||
while [ ! -z "$(amidi -l|grep "USB-MIDI")" ]; do
|
while [ ! -z "$(amidi -l|grep "USB-MIDI")" ]; do
|
||||||
sleep 1
|
sleep 1
|
||||||
|
@ -96,6 +101,12 @@ if [ "$1" == "opt" ]; then
|
||||||
killall fluidsynth
|
killall fluidsynth
|
||||||
echo "Cleaned up jackd, Jamulus and 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
|
else
|
||||||
./Jamulus -n -c jamulus.fischvolk.de
|
./Jamulus -n -c jamulus.fischvolk.de
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Reference in a new issue