aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid Runge <david.runge@frqrec.com>2013-12-04 09:05:10 +0100
committerDavid Runge <david.runge@frqrec.com>2013-12-04 09:05:10 +0100
commit2ff89798648ea0d854a59cecb94163b5a51508fa (patch)
tree840264f5969aaf99c9d0c254a1d01ede838801a5
parent1cd4112cdb988b8009940beb2d3c392f06881deb (diff)
downloaddotfiles-2ff89798648ea0d854a59cecb94163b5a51508fa.tar.gz
dotfiles-2ff89798648ea0d854a59cecb94163b5a51508fa.tar.bz2
dotfiles-2ff89798648ea0d854a59cecb94163b5a51508fa.tar.xz
dotfiles-2ff89798648ea0d854a59cecb94163b5a51508fa.zip
Added jack start and connect scripts for laptop and embedded devices
-rw-r--r--bin/connect_to_jack12
-rwxr-xr-xbin/start_jack25
2 files changed, 37 insertions, 0 deletions
diff --git a/bin/connect_to_jack b/bin/connect_to_jack
new file mode 100644
index 0000000..e17ccc2
--- /dev/null
+++ b/bin/connect_to_jack
@@ -0,0 +1,12 @@
+#!/bin/sh
+
+case "$HOSTNAME" in
+ "pitheunlord")
+ jack_connect SuperCollider:out_1 alsa_out:playback_1 &
+ jack_connect SuperCollider:out_2 alsa_out:playback_2 &
+ ;;
+ "beagleclone")
+ ;;
+ "dvzrv")
+ ;;
+esac
diff --git a/bin/start_jack b/bin/start_jack
new file mode 100755
index 0000000..fd65118
--- /dev/null
+++ b/bin/start_jack
@@ -0,0 +1,25 @@
+#!/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
+ "pitheunlord")
+ jackd -P95 -p32 -ddummy -C1 &> .log/jackd.log &
+ sleep 2
+ alsa_out -d hw:0 -q1 &> .log/alsa_out.log &
+ ;;
+ "beagleclone")
+ jackd -dalsa -dhw:1,0 -p128 -n3 -s &> .log/jackd.log &
+ ;;
+ "dvzrv")
+ ;;
+esac
+
+
+
+#alsa_out -q1 2>&1 > /dev/null &
+#sleep 1
+#scsynth -u 4555 &
+#sleep 2