-
... SinOsc.ar([freq * 0.995, freq * 1.005], 0, env * amp)) }).add; // Create task t = Task({ // Set attributes of each node // [freq, dur, [[next_state, weighted_random],…]] var node_list = [ [60, 1, [[1, 2]]], [62, 0.5, [[0 ...
-
... , i.mod(size).linlin(0,4,-1,1), amp/(size.squared * 2) ) }).play }); ~task = Routine( { var t = 0; var sz = 0; loop { t = t + 45; sz = sz + ((t/250).sin.abs * 5); ~sliders.do({ |i,n| i.background = 0.5.coin.if({ Color.ra ...
-
... g the type of now and a link to its help file. Default value is nil. Doing Some Task (optional) A short bit of prose explaining something about the task. wait (waittime, beatDur, tolerance, base) Short prose description of method. waittime ...
-
... (message); if (win.isNil or: { win.isClosed }) { // currDoc = Document.current; Task { this.makeWin(message); 0.1.wait; // currDoc.front; }.play(AppClock); } { this.setMessage(message); }; } *setMessage { |message| var messSize, fontSize; m ...
-
... : Description Class methods new Inherited class methods Instance methods play asTask Inherited instance methods Examples Classes (extension) | Libraries > miSCellaneous'>miSCellaneous > miSCellaneous>HS and HSpar'>HS and HSpar | Streams-Pat ...
-
... add(message); if (win.isNil or: { win.isClosed }) { currDoc = Document.current; Task { this.makeWin(message); 0.1.wait; currDoc.front; }.play(AppClock); } { this.setMessage(message); }; } *setMessage { |message| var messSize, fontSize; mess ...
-
... rn specifies the delta to resched the function for. Returning nil will stop the task from being rescheduled. ( SystemClock.sched(0.0, { |time| time.postln; rrand(0.1, 0.9); }); ) ⧉ ✔ ( SystemClock.sched(2.0, { "2.0 seconds later".postln; ni ...
-
... ate and on a certain schedule, in order to avoid dropouts, glitches, etc. Other tasks, such as loading a sample into memory, might take arbitrary amounts of time, and may not be needed within a definite timeframe. This is the difference bet ...
-
... ferPID { |action| var cmdname, pipe, line, lines, prepids, postpids, diff, pid; Task({ // cmdname is the command name we'll be monitoring cmdname = this.replace("\\ ", "").split($ ).first.basename; // List processes before we launch lines = ...
-
... [startQuant, demandQuant, receiveQuant].sort({|x,y| x.phase <= y.phase}).last; Task({ justPlaying = false; }).play(thisClock, quant: latestQuant); isPlaying.not.if { (hsPlay == true).not.if { Error("hsPlay must be true at first call of pla ...