-
... ///// q = q ? (); ( q.lastSymAxis = [0, 0, 1]; q.symAxis = [1, 0, 0]; q.ltime = SystemClock.seconds; JITseto .action = { |setObj| ( setObj .id == 1).if{ var time = SystemClock.seconds; var flipAngleVel; // symmetric axis is determined as z ...
-
... isThread.clock.tempo.reciprocal*(note[3]+note[5]))+note[4]+server.latency; SystemClock.sched(timeNoteOn, {renoiseOscServer.sendMsg("/renoise/trigger/note_on", instrument.asInt, track.asInt, (note[0]+note[1]).asInt, velocity )}); S ...
-
... 0.05, ["s_new", "trig1", -1, 0, 0, 0, rrand(0.02, 0.25)]); 0.25.wait }) }).play(SystemClock) ) This should sound like a continuous sine wave, although it is actually a series of 0.25 second synths. ( SynthDef("trig1", { var gate; gate = Tri ...
-
... latency; latency = latency ?? { server.latency }; super.prSend(server,latency); SystemClock.sched(latency,{ bundlesSent = bundlesSent.add( this ); }) } clumpedSendNow { arg server; if(messages.notNil,{ messages.clump(10).do({ arg bundle,i; ...
-
... anually. In most cases you will probably want to use a Clock (e.g. TempoClock , SystemClock , AppClock ) instead, in which the march of time is handled for you. Class Methods Scheduler. new ( clock , drift: false , recursive: true ) Argumen ...
-
... aseToBundle(releaseTime, bundle); if(releaseTime > 0.01, { bundle.addFunction({ SystemClock.sched(releaseTime + 0.1, { this.free; nil; }) }); }); } } +Instr { proxyControlClass { ^CXSynthPlayerControl } wrapInFader { arg bus; ^Patch(this.na ...
-
... aseToBundle(releaseTime, bundle); if(releaseTime > 0.01, { bundle.addFunction({ SystemClock.sched(releaseTime + 0.1, { this.free; nil; }) }); }); } } +Instr { proxyControlClass { ^CXSynthPlayerControl } wrapInFader { arg bus; ^Patch(this.na ...
-
... : { remaining >= 0 } } { dt.wait; }; if (this.value, thenFunc, elseFunc) }.play(SystemClock) } }
-
... degree, Pbrown(0, 12, Prand([1, 2, 3], inf)), \octave, 4, \res, Pfunc({(SystemClock.seconds*0.03).sin.abs}) ), Pbind( \instrument, \pls, \dur, Prand([time/2, time, time/4, time/8], inf), \scale, scale, \degree, ...
-
... e = \idle; var lastOutTime = 0, lastInTime = 0; *new { |time = 0, action, clock(SystemClock)| ^super.newCopyArgs(time, action, nil, clock) } value { |... invals| value = invals; lastInTime = clock.seconds; if(state == \idle) { // sched(0) h ...