-
... .slice(nil, 1, (1..2)); z.slice(1, [0,1]); z.flop; ⧉ ✔ Sorting order generate a random array: z = {100.rand}.dup(10); ⧉ ✔ order returns an array of indices representing what would be the sorted order of the array: o = z.order; y = z[o]; // ...
-
... id Optional. An integer, uniquely identifying this instance. If not provided, a random integer will be chosen. ports Optional. An array of port numbers to which sync messages will be sent. (sclang instances normally use port 57120, but if t ...
-
... ay [magnitude, phase] . // example function { |magnitude, phase, bin, index| // randomize magnitudes somewhat (noisier signal) [magnitude * (5.0.rand2.dbamp), phase] } ⧉ ✔ The bin is the integer bin number, starting at 0 for DC, while index ...
-
... e.ar([0.007, 0.007])) }.play; ⧉ ✔ Three resonators at maximum amplitude of 1.0, random frequency and ring times. Excited by two pulses at 2 and 2.5 Hz: ( play({ Klank.ar(`[ Array.rand(12, 800.0, 4000.0), // frequencies nil, // amplitudes (d ...
-
... uld be even possible to make the axiom dependent on the productions. // using a random stream of letters as axiom ( k = Prout { 50.do { "abcde".choose.yield } }; c = [ "a" ->"aa", "b" -> "bb", "c" -> "dd", "d" -> "dxx", "x" -> "y" ]; ) // 1 ...
-
... e inner Pattern's repeat arg. // with each evaluation of Plazy's Function a new random sequence of length = 2 will be generated and repeated 3 times // maximum range of the whole sequence is controlled by the environmental variable ~a ( p = ...
-
... ), start, end) ) }.scope(zoom: 8); ) x.set(\start, 0, \end, 1024); // just some random length, may buzz x.set(\start, w.xings.at(100), \end, w.xings.at(101)); x.set(\start, w.xings.at(101), \end, w.xings.at(102)); x.set(\start, w.xings.at(1 ...
-
... Libraries > miSCellaneous'>miSCellaneous Dwalk Extension demand rate ugen for (random) walks Location: NOT INSTALLED! See also: miSCellaneous , Introduction to miSCellaneous , ZeroXBufRd , ZeroXBufWr Description Dwalk can be used for gener ...
-
... * 20, \dur, 0.04, \legato, 0.1).play; a.weights = { { 1.0.rand2 } ! 2 } ! 2; // random nets quickly converge ... ⧉ ✔ Inherited class methods Instance Methods . theta Set or get the current bias values. This can be a number, or anything that ...
-
... SynthDef not found" ( var name; name = "Rand-SynthDef" ++ 400.0.rand; // use a random name to ensure it's not already loaded SynthDef(name, { arg out=0; Out.ar(out, PinkNoise.ar(0.1)) }).send(s); Synth.new(name, s); ) ⧉ ✔ A crude solution ...