From 2ff89798648ea0d854a59cecb94163b5a51508fa Mon Sep 17 00:00:00 2001 From: David Runge Date: Wed, 4 Dec 2013 09:05:10 +0100 Subject: Added jack start and connect scripts for laptop and embedded devices --- bin/connect_to_jack | 12 ++++++++++++ bin/start_jack | 25 +++++++++++++++++++++++++ 2 files changed, 37 insertions(+) create mode 100644 bin/connect_to_jack create mode 100755 bin/start_jack 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 -- cgit v1.2.3-70-g09d2