aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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