-
... DIOut(0); m.connect m.latency = 0 m.control(chan: 1, ctlNum: 2, val: 127.rand); m.noteOn(16, 127.rand, 128.rand); m.noteOff(16, 61, 60); m.allNotesOff(16);
-
... ar(voices); }).play; ) ( Tdef(\melody, { var scale = Scale.choose; 24.rand.do { Ndef(\polysynth).set(\t_gate, 1, \midinote, 60+scale.degrees.choose); 2.0.rand.wait; } }).play; ) ( Tdef(\chord, { Ndef(\polysynth).se ...
-
... 0, 0.1); my = MouseY.kr; mwrap = { |pmin, pmax, min, max| sin(mx * ExpRand(pmin, pmax)) + 1 * 0.5 * ExpRand(min, max) }; a = { var freq, fmul, phase; freq = mwrap.(10, 40, 200, 5000) + ExpRand(200, 3000); ...
-
... ,0,0, 0,0,0,0, 0.1,0.2,0,0])]; kSeq= Pswitch([kSeqs@0, kSeqs@1, kSeqs@2], Prand([0,1,2], inf)).asStream; snSeq= Pswitch([snSeqs@0, snSeqs@1, snSeqs@2, snSeqs@3, snSeqs@4], Prand([0,1,2,3,4], inf)).asStream; Routine({ OSCSched.gl ...
-
... .kr(freqPair[0], freqPair[1], dur: dur); var wobble = SinOsc.kr(0.01 + 0.05.rand, mul: 10, phase: 1 - 2.rand); freq + wobble }, mul: shape * vol, bw: bw ); Out.ar(0, Mix.ar(signal) ! 2) }).store; ...
-
... itude, azimuth, panValue, sound, index; index = Array.series(7, 8, 1); x = 50.rand; y = LFSaw.kr(1/IRand(speed, speed*3), 0, 100); distance = hypot(x, y); velocity = Slope.kr(distance); pitchRatio = (344 – velocity) / 344; amplitude ...
-
... c = CombL.ar(m+(LocalIn.ar(2)*0.8),4,r.clip(0.0001,4),r*4); l = Resonz.ar(c,TRand.kr(20,20000,m),0.1,1000).tanh; LocalOut.ar(m+l); m+c; }.play ) ( Ndef(\fbTimerSel){ m = (Dust.ar(0.5!2)*20).tanh+\in.ar(0!2); r = Timer.kr( ...
-
... Pbind(*[ dur: Pseq([1.2, 0.2, 0.5, Pseries(0.1, -0.001, 100)], inf), pan: Pxrand(#[-0.5, 0.5, 0.1, -0.1, 0.8, -1], inf), freq: 40, instrument: \brumm ]).play(); ) ( Pbind(*[ dur: Pseq([1.2, 0.2, 0.5, Pseries(0.1, -0.001, 100 ...
-
... onfetti 2 /*Imagine a box that is divided into smaller compartments. You start randomly throwing beads (or marbles or grains) into it. Wheneven one compartment is full, you stop. Check how many beads there are in a compartment whenever a b ...
-
... , 2, 3, 4, 5, 6, 7] / 7).scramble * Line.kr(100, 10, 100), [0] ++ 6.collect{1.0.rand}); a = RHPF.ar(a, Line.kr(1, {rrand(0.1, 8)}!7, 100) * \fFreq.kr(1000) , \fRq.kr(1)) * LFNoise2.kr(0.4).range(0, 1); Splay.ar(a); }) ); // - ...