summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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 */