-
... (0.1pi); Pen .translate(20,-20); Pen .fillOval(r); } }; w.front; ) // redraw at random interval // different every time ( var w, run = true ; w = Window ( "my name is... panel" , Rect (128, 64, 800, 800)); w.view.background = Color .white; ...
-
... or with option-click, it rebuilds the proxy's sound function, // so e.g. normal random numbers or lookups in the lang get remade. ~test.rebuild; // ProxyMonitorGui gets its look from GUI.skin, so you could customize it there, // or pass you ...
-
... in response to next and reset. Here is a FuncStream that represents an infinite random sequence: ( var a; a = FuncStream .new({ #[1, 2, 3, 4].choose }); 5.do({ a.next.postln; }); // print 5 values from the stream ) Another useful subclass o ...
-
... ons, accent patterns, etc. ( // select a chord and duration and repeat it for a random time interval p = Pstep ( Pbind ( \ctranspose , [0, 4, 7], \note , Pwhite (0, 12), \dur , Prand ([0.2, 0.4, 0.8], inf ) ), Prand ([1, 2, 4], inf )/4 ); P ...
-
... eo position CombL .ar( // a comb filter used as a string resonator Dust .ar( // random impulses as an excitation function // an array to cause expansion of Dust to n channels // 1 means one impulse per second on average Array .fill(n, 1), 0 ...
-
... en pass through a series of allpass filters. ( { var s, z, y; // 10 voices of a random sine percussion sound : s = Mix .ar( Array .fill(10, { Resonz .ar( Dust .ar(0.2, 50), 200 + 3000.0.rand, 0.003)}) ); // reverb predelay time : z = DelayN ...
-
... ter point intervals and the amplitudes. In yet another, just have one point and random walk its amplitude and duration based on the probability distribution. In this implementation I allow the user to initialise a certain number of memory p ...
-
... ); ) ( g.set(0, 1.0); 100.do({ arg i; g.set(a.rand, (i+1).reciprocal)}); ) ( // random impulse response { var input, inputAmp, threshhold, gate; input = SoundIn .ar(0); inputAmp = Amplitude .kr(input); threshhold = 0.02; // noise gating thr ...
-
... ////////////// Reverberation and frequency modulation ( var freq; // generate a random base frequency for the carriers and the modulators freq = 330.0.rrand(500); // modulators for the left channel Synth .head(s, "modulator" , [ \outbus , 6 ...
-
... l only post part of the data, or a simplified // representation. // n times 200 random numbers // will just add ... etc ... after 123 ( var n = 3; (1..n).do { |num| { 1000.rand }.dup(200).postln }; ) // posts the compile string, i.e. the co ...