-
... BusDriver { var <>values, <>durations; var valst, deltast, <lastValue, <delta, <beat; *new { arg values=0.0, durations=0.25, lag=0.0; // make refs of arrays into Pseq if(values.isKindOf(Ref), { values = Pseq(values.value, inf); }); if(durat ...
-
... egree, Pseq((2..5), inf), \dur, 3, \octave, 6).play(~slave2, quant: 1); ~slave1.beats == ~slave2.beats; // these will be the same // cleanup ~slave1.free; ~slave2.free; ~master.stop; a.stop; b.stop; c.stop; //////////////////////// // Beaco ...
-
... \cmdSync instructions ~shouldSync = true; ~play = { |parms| //thisThread.clock.beats.debug(">> %: play".format(~collIndex)); if(~isRunning.not) { ~setParms.(parms); ~isRunning = true; //~setDoneSignal.postcs; //"calling setDoneSignal".debu ...
-
... urce.group; bus = ~source.bus; ~source.stop; ~source.play(group, 1, bus) }, gotoBeat: { arg beat, atBeat, bundle; ~source.gotoBeat(beat, atBeat, bundle) }, isPlaying: { ~source.isPlaying }, */ ));
-
// this is a bit experimental: // sync supercollider to tidal's next incoming beat // tidal should only send on the first beat ( var synced = false; ~d1.set(\diversion, { if(~s == \sync) { if(synced.not) { TempoClock.default = TempoClock(~c ...
-
... , world, sys, synths; //--synthesis SynthDef(\sine, {|out= 0, freq= 400, fm= 1, beat= 1, amp= 0, pan= 0, gate= 1| var z, e; e= EnvGen.ar(Env.asr(0.01, 1, 0.02), gate, doneAction:2); z= SinOsc.ar(freq+SinOsc.ar(fm, 0, beat), 0, Lag.kr(amp, 0 ...
-
... , world, n= 30, sys, synths; //--synthesis SynthDef(\sine, {|out= 0, freq= 400, beat= 1, amp= 1, pan= 0| var z; z= Mix(SinOsc.ar(freq+[0, beat], 0, amp*0.5)); Out.ar(out, Pan2.ar(z, pan)); }).add; s.sync; //--world RedUniverse.clear; w= Red ...
-
... 2D[width, height], damping:0.5); //dim,grav,maxvel,damp //--synthesis SynthDef(\beating, {|out= 0, freq= 400, beat= 1, lp= 800, amp= 0, pan= 0| var z; z= RLPF.ar(Mix(LFSaw.ar(freq+[0, beat], 0, amp)), lp); Out.ar(out, Pan2.ar(z, pan)); }).a ...
-
... , \minusFiveFive, \korgZeroFive, \korgMinusFiveFive]; classvar < playTypes = #[\beat, \bar]; var < outs, < tempoBusses, < clocks, < deviceGroup, < gateBusses, < gates, < tempos, clocksTempoMap; *new{ arg channels, server; if(channels.isNil, ...
-
... \cmdSync instructions ~shouldSync = true; ~play = { |parms| //thisThread.clock.beats.debug(">> %: play".format(~collIndex)); if(~isRunning.not) { ~setParms.(parms); ~isRunning = true; //~setDoneSignal.postcs; //"calling setDoneSignal".debu ...