-
... , nil , nil ] // cyclical time points // the time point pattern puts 4 notes in random places in the bar p = Pn ( Plazy ({ Pseq (({ 4.0.rand } ! 4).round(0.125).sort, 1) }), inf ); // trace lets us see the time points first q = Pdelta (p.tr ...
-
... ng options for conversion to .partconv. There is also a button for generating a random impulse response based on an algorithm by Dan Stowell. On macOS if you have one of the following plugins/programs installed there will also be an 'import ...
-
... y happen at the right busses SynthDef(\sinePerc_writer, { //\trig comes in as a random number. This generates a 1 for length of dur. It won't reset until dur it's over. var trig = Trig.kr(Changed.kr(\trig.kr(0)), \dur.kr(2)); //Always latch ...
-
... o: { |i| l.fader("Sine", i, (i % 20) * 50, 362 * floor(i / 20), 50, 362); }; // Random slider values. 40 do: {|i| l.lemurConnection.oscNetAddr.sendMsg('/_'++i++'/x', 1.0.rand)}; // Draw a phase shifting sine p = 0; t = Task({ loop { p = p + ...
-
... p, pan + uses Formlet resonator for sinewave with simple Decay2 envelope + new: random coinGate pulse reduction + new: spread introduces phase shift between pulse trains Ndef(\pulselet).clear; Ndef(\pulselet).gui; Ndef(\pulselet).play; */ N ...
-
... f(pf.isNil && bf.isNil,{pf= {procs.size.rand}}); phrasefunc=pf; blockfunc=bf; //random, just need seomthing which is automatically going to finish straight away currproc=procs.choose;//if(blockfunc.isNil,{procs.at(phrasefunc.value)},{procs. ...
-
... rderedNames; ///// more drawing examples - see also Pen.help // draw silly fast random rectangles MFdef(\demoDraw).add(\randRects, { |uv| Pen.color = Color.rand; // Pen.fillRect(Rect(10,10,200, 200)); 2.do { Pen.fillRect( Rect(q.draw.extent ...
-
... Tests; #r1, r2, r3 = 3.collect({ rrand(-2pi, 2pi) }); axes = "xyz".scramble; // randomize the convention // initialize the initializedPws an targetPws vars this.initPlanewaves(dirs, axes, r1, r2, r3, order); rMtx = HoaMatrixRotation(r1, r2, ...
-
// RandomOrbit chordal keyboard example: // // 6 keys with two states - this is the maximum for macOS keyboards // - if pressed within chordTime, the bits accumulate, then fire as one change // - if all released to 0 within chordTime, the c ...
-
... layer; one that was controlled by the properties of an ALife system rather than random number generators. The predators have properties like energy, speed, restlessness, friction and focus on a prey. They loose energy by not eating from the ...