-
... |argDirections| directions = if(argDirections == nil, { (this.order.asHoaOrder.size).collect({ inf }) }, { switch(argDirections.rank, 0, { Array.with(argDirections, 0.0).reshape(1, 2) }, 1, { argDirections.collect({ |dir| Array.with(dir, 0 ...
-
... ch of these lines in turn and re-running the synth: [mags * {1.5.rand}.dup(mags.size), phases + {pi.rand}.dup(phases.size)]; // Arbitrary filter, arbitrary phase shift //[mags.reverse, phases.reverse]; // Upside-down! //[mags.differentiate, ...
-
... i.inclusivelyBetween(9, 13) } } } + String { countGremlins { ^this.findGremlins.size } findGremlins { var indices = []; this.do { |ch, i| if (ch.isClean.not) { indices = indices.add(i) } }; ^indices } clean { |space=true| // strip all non-c ...
-
... midiout; *start { | remote = false | server = Server.default; server.options.memSize = 8192 * 16; // increase this if you get "alloc failed" messages server.options.maxNodes = 1024 * 32; // increase this if you are getting drop outs and the ...
-
... f note playing probabilities (i.e. 1 = 100% chance, 0.5 = 50% chance, etc). The size of the array will define the beat number. Here, we'll have three examples, one for the binary tracker, one for the brobabilist tracker, and one for the duo ...
-
... /////// /* Usage: b = Boids(numBoids: 10); // an initial number of boids. Flock size can be arbitrarily increased by using addBoid() f = {|thisInstance| thisInstace.info; // print info about this flock boids.postln; // the list of BoidUnits ...
-
... s Inherited class methods Instance methods filter filterN type sampleRate bufferSize filt_a filt_b Inherited instance methods Classes (extension) | External Control DataFilter Extension Abstract class for digital filters Location: NOT INSTA ...
-
... /////// /* Usage: b = Boids(numBoids: 10); // an initial number of boids. Flock size can be arbitrarily increased by using addBoid() f = {|thisInstance| thisInstace.info; // print info about this flock boids.postln; // the list of BoidUnits ...
-
... degree phase shift to transform the signal, and results in a delay equal to the size of the buffer used for the FFT divided by the sample rate. The Hilbert UGen has less delay, but distorts in the upper octave of the frequency spectrum. Cla ...
-
... z, z, z)); Pen.fill; }) }); //draw ~beasties for(0, ~beasties.size-1, {arg i; e=~beasties[i]; if(e[dying]==true,{ Pen.color=Color.black; Pen.addRect(Rect(((e[xPos]-0.5)*z), ((e[yPos]-0.5)*z), 2*z, 2*z)); Pe ...