-
... use 'nil' to detect that it's coming from MIDI ~respond.([path, value / 127.0], SystemClock.seconds, nil, nil) }; }, chan: ~chan, srcID: ~uid); ~data = IdentityDictionary.new; // save all incoming data by oscpath ~syncSigns = IdentityDictio ...
-
... ns + 1; r = Routine.new({ dur.wait; sampleplaying.removeAt(name); ns = ns-1}); SystemClock.play(r); //dur.postln; },{("bufDict["++label++"] is nil").postln}) } modifplay {arg message ; //[\tobefilteredbyposition,la,lb,lorient] var durvar, ...
-
... cheduler Inherits from the abstract class Clock. TempoClock is a scheduler like SystemClock, but it schedules relative to a tempo in beats per second. *new(tempo, beats, seconds, queueSize) creates a new TempoClock scheduler with the given ...
-
... ed beat value. clock return the thread's clock. If it has not played, it is the SystemClock. ( r = Routine { arg inval; loop { // thisThread refers to the routine. postf( "beats: % seconds: % time: % \n" , thisThread .beats, thisThread .sec ...
-
... Format, id, args) } setWithFormat {|actFormat, id, args| var setObj, now; now = SystemClock.seconds; // get related object; add it, if it is not in the list setObj = knownObjs.at(id); setObj ?? { setObj = this.pr_newSETObj(format, id); setO ...
-
... fault: \cos). This transition normally happens within the frame of reference of SystemClock (seconds), however a different clock may be passed in the clock argument. warpTempo (frac, beats, warp) Modify the tempo to a fraction (frac) of the ...
-
... sometimes an indication of poor design. If this is the case, avoid them. a = 0; SystemClock .sched(2, { a.postln }); // crashes when scheduler fires the function When a scheduled function executes, if it returns a number, the function will ...
-
... on guiUpdateTime.yield // wait before going again }); nil.yield // stop }).play(SystemClock); } levelTo { // start from current level arg end, dur, warp = \amp; this.levelLine(level, end, dur, warp); } stopLevelAuto { this.levelSynth.notNil ...
-
... ; z.score_(x); ) // play it z.play; // play and stop after one second ( z.play; SystemClock .sched(1.0, {z.stop;}); ) creating Score from a pattern SynthDescLib .read; // new pattern ( p = Pbind ( \dur , Prand ([0.3, 0.5], inf ), \freq , Pr ...
-
... on guiUpdateTime.yield // wait before going again }); nil.yield // stop }).play(SystemClock); } levelTo { // start from current level arg end, dur, warp = \amp; this.levelLine(level, end, dur, warp); } stopLevelAuto { this.levelSynth.notNil ...