-
... eqs = ~freq; ~amp = ~amp.value; bndl = proxy.controlKeys.envirPairs; thisThread.clock.sched(~lag + ~timingOffset, { // [proxy.dump, bndl].postln; proxy.set( *bndl ); }); }; }; ); } *new{ |proxy,src, key| var pat,res; key = key ?? { proxy.ke ...
-
TempoClockGui : ObjectGui { // displays current status of a tempoclock; updates every beat classvar namewidth = 100, nameheight = 18, numheight = 40, numwidth = 70, height = 50, width = 600, spec; var <w, <name, <namev, <bars, <beats, updat ...
-
... stain < inf } }) { if(releaseHolder.notNil) { releaseHolder[proxy] = thisThread.clock.beats + sustain; }; thisThread.clock.sched(sustain, { if(releaseHolder.isNil or: { releaseHolder[proxy] ? 0 <= thisThread.clock.beats }) { proxy.source = ...
-
... boot({ a = AP({ SinOsc.ar * EnvGen.kr(Env.perc, doneAction:2) }).play }) ) Alga.clock.tempo = 1
-
... h-cuts[0][0] and sending retrigger messages for each cut renderBlock {arg block,clock; var startpos,rate, tmp; bbcutbuf.tryPerform(\updateblock, block); pbsfunc.tryPerform(\updateblock, block); offset.tryPerform(\updateblock, block); dutycy ...
-
... mitted, it will wait until the next barline to switch the meter { |beatsPerBar, clock(TempoClock.default), barBeat(clock.nextBar), newBaseBarBeat(barBeat)| clock.schedAbs(barBeat, { "changeMeter set to % at %\n".postf(beatsPerBar, barBeat); ...
-
//two-phase coupled oscillators connected in a ring visualized as clocks //from https://www.complexity-explorables.org/explorables/janus-bunch/ ( var width= 500, height= 500, w, world, n= 12; //--world w= RedWindow("janus bunch - clocks", R ...
-
... et( \t_release, 1, \fadeTime, if(algaPattern.tempoScaling, { time / algaPattern.clock.tempo }, { time }), \envShape, AlgaDynamicEnvelopes.getOrAdd(shape, server) ); }); }); } //This creates a temporary patternSynth for mid-pattern interpola ...
-
... 1; }); }; }); ^[Ptpar(demandPatternArgs), Ptpar(receivePatternArgs)]; } play { |clock, quant| var warnMsg = "No PHSplayer - " ++ "Playing a PHSuse needs a PHS being played\n"; helpSynth.isPHSplaying.not.if { warnMsg.warn; }{ ^PHelpSynthUseP ...
-
TestDDWOSCClocks : UnitTest { test_ddwSyncClocks_acquireAndMaintainSync { var leader, follower, cond = Condition.new, resp, sum; this.assertEquals(NetAddr.langPort, 57120, "sclang's port must be 57120 to run this test"); // sync messages fa ...