27 lines
299 B
Markdown
27 lines
299 B
Markdown
|
|
(
|
|
|
|
|
|
|
|
~metrob = Bus.audio(s, 2);
|
|
|
|
~metromix = SynthDef(\metromix, {
|
|
arg in=1, out=0, amp=1;
|
|
Out.ar(out, amp * In.ar(in, 2));
|
|
}).play(s, [\in, ~metrob, \out, 0, \amp, 0]);
|
|
|
|
|
|
~metronome = Pbind(
|
|
\instrument, \metronome,
|
|
\dur, ~beatsperbar,
|
|
\amp, 0.5,
|
|
\pan, 0,
|
|
\out, ~metrob
|
|
).play(~tc);
|
|
|
|
|
|
)
|
|
|
|
|
|
|