aboutsummaryrefslogtreecommitdiffstats
path: root/bin
diff options
context:
space:
mode:
authorDavid Runge <david.runge@frqrec.com>2013-12-10 12:14:26 +0100
committerDavid Runge <david.runge@frqrec.com>2013-12-10 12:14:26 +0100
commite2a08a9317d69e09fd82bcc2f3bb434f1af48d2c (patch)
treee3e8406003165647f9805b3515373b844459a74d /bin
parent9e40bf449146bb2207937dd9115ecb89017875c4 (diff)
downloaddotfiles-e2a08a9317d69e09fd82bcc2f3bb434f1af48d2c.tar.gz
dotfiles-e2a08a9317d69e09fd82bcc2f3bb434f1af48d2c.tar.bz2
dotfiles-e2a08a9317d69e09fd82bcc2f3bb434f1af48d2c.tar.xz
dotfiles-e2a08a9317d69e09fd82bcc2f3bb434f1af48d2c.zip
Fixed start behavior of jack and sclang on beagle bone black, when using xvfb-run
Diffstat (limited to 'bin')
-rwxr-xr-xbin/sclang2
-rwxr-xr-xbin/start_jack17
2 files changed, 9 insertions, 10 deletions
diff --git a/bin/sclang b/bin/sclang
index 6613581..9cbd92d 100755
--- a/bin/sclang
+++ b/bin/sclang
@@ -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