2023-04-09 01:46:05 +00:00
|
|
|
|
|
|
|
(
|
|
|
|
// audio buses and other control stuff
|
|
|
|
|
|
|
|
// recordb = input to bufrecorder
|
|
|
|
|
|
|
|
|
|
|
|
~recordb = Bus.audio(s, 1);
|
|
|
|
|
|
|
|
~inmixer = SynthDef(
|
|
|
|
\input_null,
|
|
|
|
{
|
|
|
|
arg in1 = 2, in2 = 3, out = 4;
|
|
|
|
Out.ar(out, In.ar(in1) + In.ar(in2));
|
|
|
|
}
|
|
|
|
).play(s, [\in1, ~usbinput1, \in2, ~usbinput2, \out, ~recordb]);
|
|
|
|
|
2023-04-09 02:32:11 +00:00
|
|
|
~grb = Bus.audio(s, 2);
|
2023-04-09 01:46:05 +00:00
|
|
|
|
|
|
|
// LFO buses and synths
|
|
|
|
|
|
|
|
~lfoab = Bus.control(s, 1);
|
|
|
|
~lfobb = Bus.control(s, 1);
|
|
|
|
~lfocb = Bus.control(s, 1);
|
|
|
|
|
|
|
|
~lfoa = Synth(\lfo, [\out, ~lfoab ]);
|
|
|
|
~lfob = Synth(\lfo, [\out, ~lfobb ]);
|
|
|
|
~lfoc = Synth(\lfo, [\out, ~lfocb ]);
|
|
|
|
|
|
|
|
|
|
|
|
)
|