summaryrefslogtreecommitdiff
path: root/start_chuck
diff options
context:
space:
mode:
authorRobin Haberkorn <robin.haberkorn@googlemail.com>2012-04-16 17:09:49 +0200
committerRobin Haberkorn <robin.haberkorn@googlemail.com>2012-04-16 17:09:49 +0200
commit7f8536b4a6d7fd06b1cd4929f548d241183c09cd (patch)
treee26f0579bc0988b4861e2da7582244121972442f /start_chuck
downloaddigitale-debutanten-7f8536b4a6d7fd06b1cd4929f548d241183c09cd.tar.gz
initial import of files relevant for noise project
Diffstat (limited to 'start_chuck')
-rwxr-xr-xstart_chuck15
1 files changed, 15 insertions, 0 deletions
diff --git a/start_chuck b/start_chuck
new file mode 100755
index 0000000..af8273e
--- /dev/null
+++ b/start_chuck
@@ -0,0 +1,15 @@
+#!/bin/sh
+
+# USB sound card JACK ports
+alsa_in -d hw:default -c 1 -q 0 >/dev/null &
+alsa_out -d hw:default -c 2 -q 0 >/dev/null &
+
+# Jack Oscilloscope (Bus.oscope[] in ChucK)
+# NOTE: frame size given here limits the frame size that can be set later on
+# currently the MIDI slider can set from 512 to (512::samp + 2::second)/samp
+jack.scope -n 3 -w 512 -b 96512 >/dev/null &
+
+# ChucK server
+# NOTE: Last three output ports are for jack.scope
+chuck --in3 --out7 --loop lib.ck
+