-
/* FILENAME: SCMTempoClockView DESCRIPTION: SCMTempoClockView AUTHOR: Marinus Klaassen (2012, 2021Q3) EXAMPLE: SCMTempoClockView(bounds:100@50).front(); */ SCMTempoClockView : View { classvar persistanceFile, persistanceDir, <tempoInBeatsPe ...
-
... }); ) // and we can play the grid from above with a clock ( var nTET = 19; t = TempoClock (4); t.schedAbs(t.beats.ceil, { arg beat, sec; {a.setState_( beat%32, 0, 1)}.defer; {a.setState_( beat%32, 0, 0)}.defer(t.beatDur); nTET.do({ arg i; ...
-
... 3, 6], 5, [1, 3, 6], Rest(), [-1, 1, 3], [1, 3, 5], ], inf), \amp, 0.5, ).play(TempoClock(1.5)); )
-
... 00)); Out.ar(out, Pan2.ar(sig, \pos.kr(0.0))); }).add; ) ( // setup a clock t = TempoClock.default; t.tempo = 130/60.0; // tdefs to play patterns Tdef(\hh, {|env| inf.do({|i| var level = ScGrids.calculateLevel( instrument: \hihat, curBeat: ...
-
... eTiming = true; //classvar <>useSyncPulse = false; classvar <loadedSynths, <>bigTempoClock; classvar <schedSize = 2048; useSwitch { if( [\linear, \cubic].includes( this.intType ) ) { ^useSwitch } { ^false } } level_ { |newLevel| level = new ...
-
... ks.at(name) }.select(_.notNil); clocks.postln; } addClock { |key| var myClock = TempoClock.default; // use my clock as approximation var clock = ReferenceClock(myClock.tempo, myClock.elapsedBeats); clocks.put(key, clock); this.update; } rem ...
-
... , \lfoSpeed, 0.5, \lfoDepth, 0.4, \vel, Pgauss(0.8, 0.1, inf), \amp, 0.3 ).play(TempoClock(1.5)); )
-
... fferTime = 0.2| var startQuant, demandQuant, receiveQuant, thisClock = clock ?? TempoClock.default, adaptQuant = true, latestQuant; (justPlaying.not && justStopping.not).if { justPlaying = true; #startQuant, demandQuant, receiveQuant = help ...
-
... unningCmds| var temp, item, now, cmd, lastCmd, endStatus; clock = argClock ?? { TempoClock.default }; if(status == \idle) { condition = Condition.new; status = \running; //"TLSeq: creating new routine".debug; routine = Routine({ |inval| thi ...
-
... ns--the release is scheduled using a clock of your choice, so if the clock is a TempoClock, you can specify durations in terms of beats very easily) Arguments can be set aside as global, applying to all nodes simultaneously--great for filte ...