aboutsummaryrefslogtreecommitdiffstats
path: root/.config/SuperCollider
diff options
context:
space:
mode:
Diffstat (limited to '.config/SuperCollider')
-rw-r--r--.config/SuperCollider/synthdefs.scd11
1 files changed, 11 insertions, 0 deletions
diff --git a/.config/SuperCollider/synthdefs.scd b/.config/SuperCollider/synthdefs.scd
index 51d320d..afa0828 100644
--- a/.config/SuperCollider/synthdefs.scd
+++ b/.config/SuperCollider/synthdefs.scd
@@ -35,3 +35,14 @@ SynthDef(\mix4BussesToOut, {
Mix.new(SoundIn.ar(in, volume))
);
}).add;
+
+// Record 8 channels
+SynthDef(\record8Channels, {
+ arg numBuf,
+ volume=#[0,0,0,0,0,0,0,0],
+ in=0;
+ DiskOut.ar(
+ numBuf,
+ In.ar(in, 8) * volume
+ );
+}).add;