-
... eCollection { miSC_partitionIndex { |index| var i = 0, sum = this.first; ^(this.size != 0).if { while { (index + 1) > sum }{ i = i + 1; (i == this.size).if { sum = index + 1; i = nil; }{ sum = sum + this[i]; } }; i; }; } } +VarGui { envirFr ...
-
... t(selected) } selectedAsString { ^list.at(selected).asString } maxIndex { ^list.size } choose { this.select(list.size.rand) } children { ^list } /* do not pre-load the children, just the initially selected one (the source) and the enveloped ...
-
... lang soundfile data superclass: Object The SoundFile class is used to check the size, format, channels etc. when the sclang client needs this information about a SoundFile. Soundfile data can be read and modified. Soundfile data can also be ...
-
... default.sync; // rndbuf.plot; [ [{ avgunit.kr(PlayBuf.kr(1, rndbuf), 1, rnddata.size); }, \kr, Server.default.options.blockSize] , [{ avgunit.ar(PlayBuf.ar(1, rndbuf), 1, rnddata.size); }, \ar, 1] ].do{|stuff| stuff[0].loadToFloatArray(rndd ...
-
... win.view.bounds)); win; }, nextLine: { | win | win.view.decorator.nextLine }, resizeWindowToContents: { | win | var bounds; win.view.decorator.nextLine; bounds = win.bounds; bounds.height = win.view.decorator.top + 16; win.bounds_(bounds); ...
-
... with HoaXformMatrix Nullform with HoaNull Techniques Decode to a 2D array Synthesize a diffuse field Translate to a new radius Modulate at radius Format Exchange Encode from FOA Decode to FOA Guides (extension) | Libraries > Ambisonic Toolk ...
-
... bject location ( var width= 640, height= 480, w, wgrav, world, n= 50, rep, pixelSize= 4, wn= width/n, hn= height/n; //--world w= RedWindow("discrete world - explosions", Rect(128, 64, width, height)).front; world= RedWorld3(RedVector2D[n, n ...
-
... w : SCUserView { var <value; var <lineColor, <lineWidth = 1; var <dotColor, <dotSize = 0; var <fillColor, <fill = false; var <border = 1, <borderColor; var <minVal = 0, <maxVal = 1; var orientation = \h; *viewClass { ^SCUserView } init { ar ...
-
... bject location ( var width= 640, height= 480, w, wgrav, world, n= 50, rep, pixelSize= 4, wn= width/n, hn= height/n; //--world w= RedWindow("discrete world - explosions", Rect(128, 64, width, height)).front; world= RedWorld3(RedVector2D[n, n ...
-
... ; d.notNil.if{this.load(d,*startPath)}; } load{|source ... startPath| startPath.size.booleanValue.if{ dict=source.at(*startPath); this.prAddLevel(0,dict); }{ this.prAddLevel(0,source.dictionary); dict=source; }; dict.class.postln; { this.pr ...