-
... !! dopost { |start = "[ \n", before = "", after = ",\n", end = " ]\n"| if( this.size == 0 ) { ( start ++ this ++ end ).post; ^"" } { start.post; this.do({ |item, i| if(i != 0 ) { before.post }; item.post; if(i != (this.size - 1) ) { after.p ...
-
... totalDurRec = 1/(maxTime - minTime); // // absTimes = Array.newClear(env.times.size + 1); // absTimes[0] = 0; // for(1, env.times.size, { arg i; // absTimes[i] = absTimes[i-1] + env.times[i-1]; // }); // // numPoints = (pointsPerSegment * ...
-
... es it a child of another View("parent") PaneView instance automatically follows size on parent View. Arguments: parent The instance of View new PaneView will become a child of. orientation \horizontal or \vertical orientation \horizontal or ...
-
... var out, used, pairs; out = Array.fill(count, nil); used = Array.fill(detected.size, false); pairs = Array.new; count.do { |trackIdx| var old, oldFreq; old = if(prevTracks.notNil and: { prevTracks[trackIdx].notNil }) { prevTracks[trackIdx] ...
-
... umber of values in the // values array must match the referenced attribute. Max size is 4. arg index = 0, values = [0]; ^this.multiNewList (['audio'] ++ index ++ values.size ++ values.flat); } }
-
... hs, foldersToLoad, plural = 0; folderIndex = folderIndex ?? { (0 .. descFolders.size-1) }; foldersToLoad = descFolders[folderIndex.asArray].select(_.notNil); fileExt = fileExt ? descExt; foundPaths = foldersToLoad.collect { |dir| (dir +/+ f ...
-
... .postln; }) }; /* { var index = 0; // async loading action while { index < msgs.size } { server.sendBundle(nil, *msgs[index..index+maxBundleSize] ); index = index+maxBundleSize; server.sync; }; if(notify) { "reading % buffers from folder '% ...
-
... ndo = true; var <score; var <undoStates, maxUndoStates = 10, <undoPos = 0, <undoSize = 0, <redoSize = 0; *new { |score| ^super.newCopyArgs( score) .init } init { undoStates = Array.newClear( maxUndoStates ); } *initClass { clipboard = []; } ...
-
... ord "inBus"then try to set the effect's \in param to the second arg if (argList.size > 1, { if (argList[0].asString == "inBus", { auxBus = argList[1].asInteger.clip(0, satie.aux.size - 1); }); }); ^auxBus; // returns auxBus for effects node ...
-
... to generate random values efficiently. Pprob(distribution, lo, hi, length, tableSize) distribution desired probability distribution (histogram) lo, hi lower and upper bounds of the resulting values length number of values to repeat tableSiz ...