-
... nd_(Color.red(1)) .hiliteColor_(Color.red(0.75)) .stringColor_(Color.red(0.5)); Routine({while({w.isClosed.not}, { ("path:"++a.currentPath).post; (" leaf:"++a.currentLeaf).post; (" value:"++a.value).postln; 0.4.wait; })}).play(AppClock); ) ...
-
... var numNotes, seconds; numNotes = 10000; seconds = 15; ~myScore = Score.new(); Routine.run{ ~sndbufBundle = s.makeBundle(false, { ~sndbuf = Buffer.read(s, ~hoaSoundScene.path); }); ~sndbufBundle = ~sndbufBundle.addFirst(0.0); ~myScore.add( ...
-
... vir(envir, pattern, independent) The Streams that evaluate patterns are usually Routines, and Routines have the special feature of remembering the Environment that was in force the last time it yielded, and restoring the same environment th ...
-
... ; w.close }); // defer or crash, because FreqScopeWindow Class contains its own routine for cleaning up on CmdPeriod w.onClose_({ n.free; f.free; freq.free }); }); ) ⧉ ✔ helpfile source: /usr/local/share/SuperCollider/HelpSource/Classes/Lis ...
-
... on the system, putting them in the SCDoc.documents dictionary. If run inside a Routine, this method will yield occasionally. Run this method if you added a new document and want to see the changes without restarting SuperCollider. Argument ...
-
... listed above, an error will be thrown. Therefore, if you want to use Functions, Routines, Tasks and other similar objects to schedule code that interacts with GUI elements, you must do so using the AppClock, since code scheduled on the AppC ...
-
... fFrames.kr(bufnum) ) * (10 * amp) ) }).store ); ) // start a process ( q.rout = Routine { var dt; loop { dt = exprand(0.01, 1.2); Synth(\help_PlayBuf, [ \bufnum, q.b[\apollo], \rate, 0.06 * [1, 2, 3, -1, -2, -3].choose + 1, \offset, 1.0.ran ...
-
... t want to stay away from each other. That tends to make things interesting. r = Routine({ loop { b.moveFlock({|thisFlock| var boids, thisBoid, panVals; // moveFlock takes a function which is passed the instance of Boids2D // you can access ...
-
... al| { val.plot }.defer }); // Continuous graphical display of MFCC values; free routine before closing window ( var ms; w = Window.new("Thirteen MFCC coefficients", Rect(200, 400, 300, 300)); ms = MultiSliderView.new(w, Rect(10, 10, 260, 28 ...
-
... _(0.99); a.viscosity_(0.99); a.diffusion_(0.5); h = 12.0; // send some touches! Routine.run({ inf.do({ a.touch(1.0.rand, 1.0.rand); a.touch(1.0.rand, 1.0.rand); a.hue_(h); h = h + 1; 0.02.wait; }) }) // set up a SynthDef that takes x and y ...