-
... ^^^^^^^^ play({ // Three patches in one... n = 5; // number of strings b = [ // array of possible impulse excitation behaviours { Impulse.ar(2 + 0.2.rand, 0.3) }, // slow phasing { Dust.ar(0.5, 0.3) }, // "wind chimes" { Impulse.ar(SinOsc.k ...
-
... }; // Compute the mean m and standard deviation s of all positive values in array a; aAbs = a.abs; mean = aAbs.mean; sDev = aAbs.stdDev; // mean.postln; // sDev.postln; a.do{|val, i| // collect all indices that are conc ...
-
... wrapper FoaTransform . Class Methods . ar Arguments: in The B-format signal, an array: [w, x, y, z] angle The distortion angle, in radians. 0 to pi/2 theta Azimuth for the normal to the plane, in radians. phi Elevation for the normal to the ...
-
... I: [ \V, \X ], X: [ \L, \C ], C: [ \D, \M ] ); var i = 0; y = this.toUpper.as( Array ).collect(_.asSymbol) .select({ |item| x.keys.includes( item ) }); while { i < y.size } { if( z[ y[i] ].asCollection.includes( y[i+1] ) ) { a = a + ( x[y[ ...
-
... be identical. ⧉ ✔ In the above example, a and b were different instances of the Array class, each with their own memory address. You can query said address through the .dump method: a.dump; b.dump; ⧉ ✔ For newcomers to programming, it may b ...
-
... e first argument. Arguments: order Ambisonics order 1-5. in b-format as channel array. az azimuth angle of beam direction in degree (-pi to pi). ele elevation angle of beam direction in degree (-pi * 0.5 to pi * 0.5). int_float 0: "cardOrde ...
-
... up.server.sendMsg(\n_free,synthid); } renderBlock {arg block,clock; var freq, rqarray, s; s= cutgroup.server; freq= cfreqfunc.value(block); rqarray= Array.geom(block.cuts.size,rqfunc.value(block),drqfunc.value(block)); if(block.cuts.size>0, ...
-
... , starthighest=1, startlongest=1; var numberbeep, highestbeep, longestbeep; u=Array.new(12); //array to store the numbers, wrapped to 0..11 {for(0, 12, {u.add(0)})}.value; numberbeep=Synth(\beep, [\freq, 200, \cutoff, 200, \pan, 0]); ...
-
... po; id = argId; // create the default voice, add any values above to the events array voices = [[]]; // check if the clef, key and timeSigs are NtkObjects clef = (argClef ?? {NtkClef.treble(1, 1)}); key = (argKey ?? {NtkKeySig.major(1, 1, \ ...
-
... ial time. Expects Number. Defaults to 0. y0 - Initial value of the ODE. Expects array of size 3. Defaults to #[1, 1, 1]. intType - Integration type. Expects one of the Symbols, for which procedures are stored with Fb1_ODEintdef. The use of ...