-
... //////////////////////////////// // comb example ( { CombN .ar( SinOsc .ar(500.rrand(1000), 0, 0.2) * Line .kr(1, 0, 0.1), 0.3, 0.25, 6 ) }.scope; ) // allpass example - not much difference from the comb example ( { AllpassN .ar( SinOsc .ar ...
-
... Array(2,1,[ 1, 1 ]); // excite string 1 and 2 separately and both together at a random relative position along their lengths excPointMatrix = Array2D.fromArray(2,3,[ 1.0.rand, 0, 1.0.rand, 0, 1.0.rand, 1.0.rand ]); // listen to string 1 and ...
-
... zoom * sign ); } } }; // joyhat L R switches prev/next preset on inphlux, both: rand /// FIXME: mark modalAction has happened, // dont do basic action on second release m.getHalo.hatWasUsed = false; m.elAt(\joy, \l, \hat).elemDesc.label = " ...
-
... ront; PaneView(w.view, \horizontal, 5).panes.do({ |p| PaneView(p, \vertical, 2.rrand(9)) }); ) ⧉ ✔ ( // responsive FlowLayout inside panes w = Window().front; PaneView(w.view, \horizontal, 2, [1,2]).panes.do({|p| var i = ScrollView(p, p.bou ...
-
... returning kick offset positions, offsets being in the range 0.0 to 1.0. So for random beats of a 4/4 source, try {([0,1,2,3]/4).choose} snareoffset choose snare offset positions. phraselength Typically 4.0 or 8.0. blockdiv The way to do th ...
-
... b (ab)) t = Steno.new; s.boot; // define a few letters t.quelle(\a, { SinOsc.ar(Rand(200, 2130)) }); // quelle (aka source) produces sound t.filter(\f, { |input| LFPulse.kr(ExpRand(1, 10), 0, Rand(0.1, 0.5)) * input }); // filter processes ...
-
... r - l ]; center = stereo - sides; 4.do({ sides = AllpassL.ar(sides, 0.05, [0.05.rand, 0.05.rand], decay) }); Mix.new([ center * centerLevel, sides * sidesLevel ]) },#[ \stereo, \drive, \drive ], \stereoEffect ); Instr([\stereo,\hardSides],{ ...
-
... Color .green) o.set(1, Color .red) o.set([0, 1, 2], Color .hsv(0.4, 1, 1), {3.0.rand}!3) o.set(0, Color (1, 0.5, 0.5)) o.set(2, Color .blue, 20) o.set(0, Color .gray(0.1), 30) o.set([0, 1, 2], Color .new255(*[1, 1, 1]*10)) o.set((0..2), Col ...
-
... n=5; var snd = ({ var in = LFClipNoise.ar(dustfreq.lag(lag), LFPulse.ar( hack * Rand(0.5, 2), Rand(0, 2pi), width+Rand(-0.3, 0.4)) ); Ringz.ar(in, ffreq.lag(lag) * LFDNoise1.kr(move-0.05, 0.95, 1), 1.25/hack ) } ! n) .clump( q.numChans ).su ...
-
... in = 1, max = 1, trig, dur; var shape = Env.shapeNames.choose; var num = rrand(4,16); var levels = (0..rrand(3,8)).collect({1.0.rand;}); var durs = (0..levels.size-1).collect({1.0.rand}).normalizeSum; var env = Env(levels,durs,s ...