diff options
Diffstat (limited to 'bin')
-rwxr-xr-x | bin/sclang | 2 | ||||
-rwxr-xr-x | bin/start_jack | 17 |
2 files changed, 9 insertions, 10 deletions
@@ -6,5 +6,5 @@ if [[ $HOSTNAME == *dvzrv* ]]; then /usr/bin/sclang "$@" else echo "/usr/bin/sclang in fake X screen" - /usr/bin/xvfb-run --server-args="-screen 0, 1280x800x24" /usr/bin/sclang "$@" + /usr/bin/xvfb-run --server-args="-screen 1, 1280x800x24" /usr/bin/sclang "$@" fi diff --git a/bin/start_jack b/bin/start_jack index fd65118..351d7e3 100755 --- a/bin/start_jack +++ b/bin/start_jack @@ -1,7 +1,5 @@ #!/bin/sh -#jackd -m -p 32 -d dummy & -#jackd -r -p 32 -d dummy > .log/jackd.log 2>&1 & #jackd -P70 -p16 -t2000 -dalsa -dhw:0,0 -p128 -n3 -r44100 -s > .log/jackd.log 2>&1 & case "$HOSTNAME" in @@ -11,15 +9,16 @@ case "$HOSTNAME" in alsa_out -d hw:0 -q1 &> .log/alsa_out.log & ;; "beagleclone") - jackd -dalsa -dhw:1,0 -p128 -n3 -s &> .log/jackd.log & + /usr/bin/xvfb-run --server-args="-screen 0, 1280x800x24" jackd -dalsa -dhw:1,0 -p128 -n3 -s &> .log/jackd.log & ;; "dvzrv") + DEVICE="/dev/fw1" + if [[ -e $DEVICE && -r $DEVICE && -w $DEVICE ]]; then + echo "Setting up Motu Traveler with JACK" + else + echo "Setting up internal JACK server" + fi +# jack_control start ;; esac - - -#alsa_out -q1 2>&1 > /dev/null & -#sleep 1 -#scsynth -u 4555 & -#sleep 2 |