-
... er on the server is a globally available, multichannel array of 32-bit floating-point numbers. It also has an associated sample rate, represented in Hertz as a 64-bit float. The Buffer class encapsulates a number of common tasks, OSC messag ...
-
... do{|p, i| Pen.fillColor= Color.hsv(0.6, i/num, 0.7, 0.7); Pen.addOval(Rect.aboutPoint(Point(p.position.x, p.position.y), p.mass, p.mass)); Pen.fill; }; }; win.front; CmdPeriod.doOnce({win.close}); Routine({ var nextTime; while({win.isClosed ...
-
... gs ) Examples a = 2.sqrt; // result is square root of two (approximate floating point). a = { b }.sqrt; // result is a UnaryOpFunction b = 2; a.value; // now it is evaluated, and the result is calculated b = 9; a.value; // again, with a dif ...
-
... ew. bounds a desired size and position where to display a JITGui. can be nil, a Point , or a Rect . JITGuis know their minimum size ( minSize ), and if bounds is nil, minSize is used. if bounds is a Point or Rect , it will be set to at leas ...
-
... of View or Window that the new View will become a child of. bounds A Rect or a Point describing size and position of the new View. If a Point is given, its coordinates will denote the view's size, while the view's position will be (0,0). P ...
-
... r( LFNoise1.ar(4, 400, 450), 0, 0.2 ) }.play; ) // freq is the rate of starting points { var freq = 1000; [LFNoise1.ar(freq), Impulse.ar(freq)] }.plot ⧉ ✔ helpfile source: /usr/local/share/SuperCollider/HelpSource/Classes/LFNoise1.schelp li ...
-
... ew. bounds a desired size and position where to display a JITGui. can be nil, a Point , or a Rect . JITGuis know their minimum size ( minSize ), and if bounds is nil, minSize is used. if bounds is a point or rect, it will be set to at least ...
-
... as bus numbers beginning at 0, as AudioIn may be deprecated and removed at some point in the future. Class Methods AudioIn. ar ( channel: 0 , mul: 1.0 , add: 0.0 ) Arguments: channel Input channel number to read. Channel numbers begin at 1. ...
-
... r( LFNoise0.ar(4, 400, 450), 0, 0.2 ) }.play; ) // freq is the rate of starting points { var freq = 1000; [LFNoise0.ar(freq), Impulse.ar(freq)] }.plot ⧉ ✔ helpfile source: /usr/local/share/SuperCollider/HelpSource/Classes/LFNoise0.schelp li ...
-
... 4) ] ⧉ ✔ With arrays: [Some(2),None(),Some(4)].flatten // -> return [2,4] [Some(Point(1,2)),None(),Some(Point(3,4))].collect( _.collect( _.x) ).flatten // -> return [1,3] ⧉ ✔ Dictionary.get returns None() if the key doesn't exist and Some(x ...