-
... y=0.04,noise=0.01; var z, f1, f2; f1 = 500 + 2000.0.rand; f2 = 8000.0.rand; z = Array.fill(2, { `[ // sine oscil bank specification : y = Array.fill(qnty, { f1 + f2.rand} ), // frequencies nil, // amplitudes default to 1.0 Array.fill(qnty, ...
-
... cess sound files through that chain. Class Methods . convert Arguments: fileNameArray Array of file name strings ala: [["infile1.wav", "outfile1.wav"], ["infile2.wav", "outfile2.wav"]] File name strings are standardized inside of the class ...
-
... |unit, key, umapdef| unit.isKindOf( UPattern ).not && { [ Point, SimpleNumber, Array ].any({ |class| unit.getDefault( key ).isKindOf( class ) }) && { UAdaptSpec().canAdapt( unit.getSpec( key ) ) } }; }) .mappedArgs_([ \input ]).category_( ...
-
... r.heatMap( bounds, xLabels, yLabels, title, win, showVals, colscheme ) Examples Arrays: // First let's create a random undulating distribution and look at it a few different ways: a = (0..9).scramble.blendAt((0.1, 0.2 .. 9)); a.plot; a.heat ...
-
... ctButtonSet { var butts,<selected=0,<>action,<>colorFunc,<>selectedColor,<>labelArray; var <>altAction; *new { arg layout, labelArrayOrQnty=10, // integer generates numerical labels action, // action.value(selectedIndex,this) color, selecte ...
-
... tonSet { var butts, <selected=0, <>action, <>colorFunc, <>selectedColor, <>labelArray; var <>altAction; *new { arg layout, labelArrayOrQnty=10, // integer generates numerical labels action, // action.value(selectedIndex, this) color, select ...
-
... : Spec { /* a device can be: - String (same name for input and output device) - Array[ String, String ] (input, output) - nil (system default) GUI will try to match output to input device, unless the user sets it manually. */ classvar <inDe ...
-
... . play Plays all corresponding PLbindefs with passed arguments, which might be arrays. In this case wrapped indexing is applied. . isPlaying Indicates if the corresponding PLbindef is playing. . reset Resets the corresponding PLbindef. . s ...
-
... height], RedVector2D[1, 1], 100, 0.5); //dim,grav,maxvel,damp //--particles (an Array with Dictionaries) particles= {|i| var loc= RedVector2D[width/2+0.0.gauss(width/10), height/2+0.0.gauss(height/10)]; var mass= 0.5.rrand(1.0); ( obj: RedP ...
-
... height], RedVector2D[1, 1], 100, 0.5); //dim,grav,maxvel,damp //--particles (an Array with Dictionaries) particles= {|i| var loc= RedVector2D[width/2+0.0.gauss(width/10), height/2+0.0.gauss(height/10)]; var mass= 0.5.rrand(1.0); ( obj: RedP ...