-
... r pattern, streams, dur, durDiff; dur = 1/7; durDiff = 3; pattern = Prout.new({ loop({ if (0.5.coin, { #[ 24,31,36,43,48,55 ].do({ arg fifth; fifth.yield }); }); rrand(2,5).do({ // varying arpeggio 60.yield; #[63,65].choose.yield; 67.yield; ...
-
... uf, freqbuf; var in, chain; in = PlayBuf.ar(1, sndbuf, BufRateScale.kr(sndbuf), loop: 1); chain = FFT(fftbuf, in); chain = PV_MagBuffer(chain, magbuf); chain = PV_FreqBuffer(chain, freqbuf); IFFT(chain); }).add; SynthDef(\magbuffersynth, {a ...
-
... makeSourceInstance(\monof, \sndFile, \default, synthArgs: [\bufnum: ~monoFile, \loop, 1]); ~satie.groupInstances[\default][\monof].set(\gainDB, -10, \aziDeg, -120, \eleDeg, 15, \t_trig, 1, \loop, 1); ) // cue again or another ~monoFile.cueS ...
-
... ighlife rule= #[[2, 3], [0, 3]]; //rule "23/30" modded conways game of life //--loop w.draw{ world.gravity= w.mouse/RedVector2D[width, height]-0.5; world.objects.do{|o, i| var neighbours= 0; world.objects.do{|oo, j| if(i!=j, { if(o.loc.dist ...
-
... its subjective decay over time. Location: NOT INSTALLED! See also: Influx , KtlLoop Description Activity models the decay of perceived activity level over time. Can be used to track how active some playing interface is being used, and slow ...
-
... a routine that can pause under certain conditions: ( c = Condition.new; fork { loop { 1.wait; "going".postln; c.wait } }; ) c.test = true; c.signal; c.test = false; ⧉ ✔ // the same, using hang ( c = Condition.new; Routine { 1.wait; "waited ...
-
... ////////////////////////////////////////////////////// このルーチンを.doメッセージを使って書き直すと、loopを作ります。 ( r = Routine({ var array; array = [ "hello, world", "what a world", "i am a world" ]; 3.do({ array.choose.yield }) }); ) ⧉ ✔ このdo loopをルーチンの中のループよりも ...
-
... le use, plotting some fake data: ( // some fake data e = 0; f = 0; r = Routine{ loop { e = 0.0.rrand(1); f = 0.0.rrand(1).cos; 0.5.wait; } }.play; // look at the data m = SWPlotterMonitor.new( { //data to plot [ [e, f], // view the two stre ...
-
... x = f.(p, { |outval| outval[\note] < 20 }); // always stop at 20 Pn(x).play; // loop it. ); ⧉ ✔ Class Methods EventStreamCleanup. new Create a new instance. Inherited class methods Instance Methods . addFunction ( event , function ) Add a n ...
-
... 4, offset); OffsetOut.ar(out, sig); }, [\ir, \ir, \ir, \ir]).add; ) ( Routine { loop { s.sendBundle(0.2, [9, \Help_Subsample_Grain, -1, 1, 1, \freq, 1000]); rrand(0.001, 0.002).wait; } }.play; ) ⧉ ✔ helpfile source: /usr/local/share/SuperCo ...