-
... { height.do{ |y| width.do{ |x| var noise = Simplex.fBm3(x/width*2, y/height*2, AppClock.seconds*0.05, octaves); Pen.fillColor = Color.grey(noise.linlin(-1,1,0,1)); Pen.fillRect(Rect.aboutPoint(Point(x, y)*scale, scale, scale)); }; }; }; wi ...
-
... chedule time-based behavior, even if no audio is involved. Both SystemClock and AppClock (a less accurate version which can call Cocoa primitives) have only class methods. Thus one does not create instances of them. If you need to have an i ...
-
... * 0.5) * atorad + 0.5pi, e.value * atorad); Pen.fill; if((actRotate.abs > 0), {AppClock.sched(frameInterval, {w.refresh})}, {count = 0;}); if(count%4 == 0, {panBus.set((actPoint.theta + (0.5pi)).wrap2(pi) * rtoang)}); }; c.mouseMoveAction_ ...
-
... n: This calls the superclass' startup, which among other things initializes the AppClock and the top-level Environment . Main's startup then stores Server.default in the interpreter variable s, sets the platform default's GUI kit, calls a P ...
-
... l , the routine's clock will not be changed. (Note: Currently incompatible with AppClock ; rescheduling depends upon the method schedAbs , which AppClock does not implement.) quant A quantization specifier, identifying a time later than the ...
-
... The default clock used is the SystemClock, but you may also specify to use the AppClock. An optional clientSideFunction can also be supplied that will be evaluated on the client at the exact time as the OSC bundle is scheduled to happen. T ...
-
... e warp // with \exp, values fall uniformly in each octave wait(0.1); }) }).play(AppClock) ) ⧉ ✔ Patterns Within a pattern definition, a CV can directly substitute for a Pattern: ( SynthDescLib.global.read; Pbind( \instrument, \default, \fre ...
-
... ocess fork({ 5.wait; synth.release; update.value(butt, "."); 1.wait; w.close }, AppClock); }); CmdPeriod.doOnce({ w.close }); w.front; }); ) ⧉ ✔ Complex drag and drop example try dragging the buttons to white slot, and then between white sl ...
-
... ased scheduler Source: Clock.sc Subclasses: LinkClock , TempoBusClock See also: AppClock , SystemClock Description TempoClock is a scheduler like SystemClock , but it schedules relative to a tempo in beats per second. See Clock for general ...
-
... b.doAction; [0.1, 0.2].choose.wait; }); 1.wait; n.free; { w.close }.defer; }); AppClock.play(r); }); ) ⧉ ✔ helpfile source: /usr/local/share/SuperCollider/HelpSource/Classes/MultiSliderView.schelp link::Classes/MultiSliderView::