-
//agents playing game-of-life. objects are neightbours if they touch //standard rule modified to also include: if no neighbours then become alive ( var width= 300, height= 300, w, wgrav, world, n= 40, rule, px= 0, py= 0; //--world w= RedWin ...
-
... se.kr(2), 440.reciprocal, 440.reciprocal, 10, coef: MouseX.kr(-0.999, 0.999)) }.play(s) ) s.quit; // a group of angry fretless mandolin players ( { var freq, numparts; numparts = 50; freq = SinOsc.kr(Array.fill(numparts, { Rand(0.05, 0.2) } ...
-
... DelayC.ar(z, 0.2, 0.2, 1, z); // input is mixed with delay via the add input }.play ) ( // recursive application of delay. { z = Decay2.ar(Dust.ar(1, 0.5), 0.01, 0.1, Saw.ar(100 + [0, 1])); 5.do { |i| z = DelayC.ar(RLPF.ar(z, Rand(100, 300 ...
-
... midinote, PLnaryop('+', \src, [\dev]), \dur, 0.1 ); ) // define Environment and play ( e = (src: PLseq([61,62]), dev: Pbrown(-5, 5, 0.2) ); e.use { x = p.play }; ) // replace e.dev = PLseq((0, 0.5..7)); e.dev = Pbrown(-5, 5, 0.2); e.src = P ...
-
//agents playing game-of-life. objects are neightbours if they touch //standard rule modified to also include: if no neighbours then become alive ( var width= 300, height= 300, w, wgrav, world, n= 40, rule, px= 0, py= 0; //--world w= RedWin ...
-
... e power of two framesize Out .ar(0, Convolution2 .ar(input, b, 0, 512, 0.5)); }.play; ) // another example ( // must have power of two framesize- FFT size will be sorted by Convolution2 to be double this // maximum is currently a = 8192 for ...
-
... 0.25, 0.5]], //first Motif [[0.5, 0.5], [0.33, 0.33, 0.34]] //second Motif ] )).play; ) ( //changing the motiflist gradually as you go var motiflist; motiflist=[[[0.5,0.5],[0.25,0.25],[0.5]]]; BBCut2(CutBuf2(f),MotifCutProc.new( motiflist, ...
-
... st ~backtracking.value(l = List.new, beatInBar: 0, beatsPerBar: 8); Pseq(l).play; l.sum(_.dur); // test resulting duration // play many bars // Penvir stuff was for debugging, don't worry about it ( p = Ppar([ // metronome ...
-
... tterns modulating each other. Speed of each pattern controlled by a mouse axis play{x=Dseq((5..20)*50,inf);y={|a|SinOsc.ar(Demand.kr(Impulse.kr(a),0,x))};y.(MouseY.kr(1,7))*y.(MouseX.kr(1,7))*SinOsc.ar([990,600])}
-
... r(0.1,3),n.ar(3,6)).tanh;9.do{a=AllpassL.ar(a,0.3,{0.2.rand+0.1}!2,5)};a.tanh}).play