summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobin Haberkorn <robin.haberkorn@googlemail.com>2012-09-13 19:33:58 +0200
committerRobin Haberkorn <robin.haberkorn@googlemail.com>2012-09-13 19:33:58 +0200
commit3532c6ab000db5a2d6379846f07008d2328b634c (patch)
tree8984b0a0d6331ccfa097bb4a0ea774a38f0fc198
parent4acd89b851d4fd7b3d7a060dd5711b1b5433d53d (diff)
downloaddigitale-debutanten-3532c6ab000db5a2d6379846f07008d2328b634c.tar.gz
fixed recording shred
put files into recordings/ subdir
-rw-r--r--rec.ck8
1 files changed, 4 insertions, 4 deletions
diff --git a/rec.ck b/rec.ck
index da9e38e..58f049d 100644
--- a/rec.ck
+++ b/rec.ck
@@ -10,13 +10,13 @@ if (me.args() > 1)
if (me.args() > 0)
me.arg(0) => filename;
-/* pull samples from the dac */
WvOut2 out => blackhole;
-"recording" => out.autoPrefix;
+"recordings/recording" => out.autoPrefix;
filename => out.wavFilename;
-dac.chan(0) => out.left;
-dac.chan(1) => out.right;
+/* pull samples from the dac */
+dac.chan(0) => out.chan(0);
+dac.chan(1) => out.chan(1);
/* keep recording as long as shred is running */
null @=> out; /* BUG WORKAROUND: dereference "out" on shred exit */