From a4d84b405674d112b26d4a4cbe5479625d3dd3f0 Mon Sep 17 00:00:00 2001 From: David Runge Date: Sat, 23 Mar 2019 19:01:25 -0700 Subject: .config/SuperCollider/synthdefs.scd: Adding SynthDef to record 8 channels to disk with a volume array (through control Bus). --- .config/SuperCollider/synthdefs.scd | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to '.config/SuperCollider') 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; -- cgit v1.2.3-70-g09d2