-
... ^this.getNames( type ).collect({ |item| valueSpecs[ item ]; }); } constrain { |array| // outputs an array [ type, channel, val1 (, val2) ] var type, specs; if( array.size == 0 ) { if( array.class == Symbol ) { type = array; array = [ type ...
-
... ^this.getNames( type ).collect({ |item| valueSpecs[ item ]; }); } constrain { |array| // outputs an array [ type, channel, val1 (, val2) ] var type, specs; if( array.size == 0 ) { if( array.class == Symbol ) { type = array; array = [ type ...
-
+ Array {// gauss-jordan matrix elimination, by Kathi Vogt eliminateMatrix { var array = this.deepCopy; var lastRow = this.size - 1, lastCol = this[0].size - 1; var n = min(lastRow, lastCol); var z, diag, fk, ee; (0 .. n - 1).do {|i| diag = ...
-
# Array Flatten [![NPM version][npm-image]][npm-url] [![NPM downloads][downloads-image]][downloads-url] [![Build status][travis-image]][travis-url] [![Test coverage][coveralls-image]][coveralls-url] > Flatten an array of nested arrays into ...
-
... "file exists:"+anafilename+"no need to analyze again.").postln }; } prFillPeriodArray{arg parent; var ana=File.new(anafilename, "rb"); parent.array=Array.fill(ana.length/48,{|i| Period.newUsing(this,parent,i,*({ana.getDoubleLE}!6))}); } // ...
-
... thods Examples Classes | UGens > Multichannel'>Multichannel Mix : Object Sum an array of channels. Source: Mix.sc Description Mix will mix an array of channels down to a single channel or an array of arrays of channels down to a single arra ...
-
... y clear *new { |pairs| ^this.fromPairs(pairs); } // very efficient *newUsing { |array, names| ^super.newUsing(array ?? {[]}).init(names); } // conversions *fromPairs { |pairs| var names, values; pairs = pairs ?? {[]}; #values, names = pairs ...
-
... y clear *new { |pairs| ^this.fromPairs(pairs); } // very efficient *newUsing { |array, names| ^super.newUsing(array ?? {[]}).init(names); } // conversions *fromPairs { |pairs| var names, values; pairs = pairs ?? {[]}; #values, names = pairs ...
-
Multichannel Expansion Multiple channels of audio are represented as Arrays. s.boot; // one channel { Blip .ar(800,4,0.1) }.play; // two channels { [ Blip .ar(800,4,0.1), WhiteNoise .ar(0.1) ] }.play; Each channel of output will go out a di ...
-
// wslib 2007 // plot multiple arrays on top of eachother // example: /* MultiPlot( [ (-10,-9..10), (-20,-18..20).fold(-10,10), { 3.0.rand2 } ! 20 ] ) */ MultiPlot { *new { |arrays, width = 600, height = 400, colors, background, hLinesAt, v ...