-
... mbers { arg convert = true; // separate numbers from the rest of the string var array = []; var word = ""; var currentWordType = \text; this.do({ arg char, i; if(char.asString.couldBeNumber) { if(currentWordType == \number) { if(char != $-) ...
-
... tRule = [[2, 3], [3]]; secondRule = [[2, 3], [3]]; userFunc = {}; currentGrid = Array.fill(numDivs, { Int8Array.fill(numDivs, { 2.rand; }); }); nextGrid = currentGrid.deepCopy; history = Array.fill(numDivs, { Array.fill(numDivs, { Array.fil ...
-
... successor of APL. Adverbs and SequenceableCollections Normally when you add two arrays like this: [10, 20, 30, 40, 50] + [1, 2, 3] You get this result: [ 11, 22, 33, 41, 52 ] A new array is created which is the length of the longer array an ...
-
this code throws a scrambled array of arrays seeking among them for the original array, It only sounds when it founds it. (may take a while) the idea started trying a SCtweet, but became with this funny code! (// * //watch the postWindow ...
-
... mment: Ocean of Bass. p = ProxySpace.push(s.boot); ~a.play; ~a = { var array; array = Array.series(rrand(1,1000),rrand(1,1000),rrand(1,30)); array = array ++ array.reverse; Pan2.ar(LeakDC.ar(Normalizer.ar( BPeakEQ.ar(BPeakE ...
-
... ardizePath; }; } { ^path.standardizePath; }; } *formatPath { |path| var stPath, array = [], key, i = 0; var relative; dict.keysValuesDo({ |key, value| if( key != '_relative' ) { array = array.add( [ value.standardizePath.withTrailingSlash, ...
-
... ardizePath; }; } { ^path.standardizePath; }; } *formatPath { |path| var stPath, array = [], key, i = 0; var relative; dict.keysValuesDo({ |key, value| if( key != '_relative' ) { array = array.add( [ value.standardizePath.withTrailingSlash, ...
-
... r(*this) } asWFSPath { ^WFSPath_Old( this.collect( _.asWFSPoint ) ) } asWFSPointArray { ^WFSPointArray.with( *this ) } asWFSPathArray { ^WFSPathArray.with(*this) } asWFSSpeakerArray { ^WFSSpeakerArray.with(*this) } asWFSSpeakerLine { ^WFSSp ...
-
... interesting variants f = { |out = 0| var sig = Pan2.ar( Klank.ar( `[ Array.rand(30, 50, 10000), Array.rand(30, 0, 1.0), Array.rand(30, 0, 1.0) ], [ LFBrownNoise2.ar( LFDNoise3.kr(base / 4).range(20, 10000), 0.005), ...
-
... vailable methods. Hierarchy Collection - Abstract superclass of all collections Array2D - two-dimensional array Bag - Unordered collection of objects IdentityBag - A Bag according to identity Interval - range of integers MultiLevelIdentityD ...