-
... stutter ( Pfunc ({ |x| (0.5 / x).asInteger }), Pwhite (0.1, 0.5, inf )), \dur , Pkey ( \delta ) * Pwhite (1.0, 1.8, inf ), \pan , Pwhite (-0.8, 0.8, inf ) ).play; p.stop;
-
... stutter ( Pfunc ({ |x| (0.5 / x).asInteger }), Pwhite (0.1, 0.5, inf )), \dur , Pkey ( \delta ) * Pwhite (1.0, 1.8, inf ), \pan , Pwhite (-0.8, 0.8, inf ) ).play; p.stop;
-
... inf ), // odd numbered scale degrees get a shorter rhythmic value \dur , Pif ( Pkey ( \degree ).odd, 0.25, 0.5) ).play; p.stop; Pseed(randSeed, pattern): Random number generators depend on seed values; setting a specific seed produces a re ...
-
... 1/7, \src, Pseg(Pseq([65, 85], inf), 5, \sin).round, \midinote, Ptuple([ PIdev(Pkey(\src), 1, -1, 1), PIdev(Pkey(\src) + 8.5, 3, -5, 5) ]).trace(prefix: "midi "), ).play; ) p.stop ⧉ ✔ Ex. 7: Application to other params: rhythm // if we hav ...
-
... ent, \bufRdPanExpandLoop, \len, Pfunc {v[\shadowsLen] + 2.5.rand2}, \sus, Pkey(\len)/2, \amp, 0.1, \initPos, 0.4, \minWidth, 0.4, \bufnum, Prand([ Pfuncn {c[\colours][\brightWhisper].choose}, Pfuncn {c[\colours][\d ...
-
... attern for non-array sequencing p = Pmono ( \array_1c , \dur , 0.2, \duration , Pkey ( \dur ), \midinote , Pn ( Plazy { Pseq ((70..50)) / rrand(1, 1.2) }), \amp , 0.3 ).play ) p.stop; // equivalent, now all done by synth x = Synth ( \array_ ...
-
... o = ~add_legato.(res[1]); Pbind( \degree, Pseq(res[0],repeat), \legato, Pkey(\legato) * Pseq(legato,repeat), \dur, Pseq(dur,repeat) ) }; ) // usage example (Pbind(\amp, 1, \stretch, 1/8) <> ~abc_to_pbind.("[c4e4g4][d4f4 ...
-
... ( \fx ), (u:0, x:1, y:2, z:[1, 2])), \a , 0.07, \att , 0.01, \rel , 0.3, \cd , Pkey ( \att )+ Pkey ( \rel ) + 0.1 ); // PS to embed ~a = PS ( Pbind ( \i , \saw , \d , 0.1, \m , PLseq ([60, 60, 60, 62])) <> ~r , 1); ~b = PS ( Pbind ( \i , \ ...
-
... key: \rec, \midiNum: 118, style: (row: 2, column: 21, width: 1.2)) ] ), ( key: \pkey, shared: (elementType: \pianoKey, spec: \midiVel, midiChan: 0), elements: (0..127).collect { |midinum, i| var pos = Piano.pos(midinum % 48, 0); (key: i.asS ...
-
... Pbind(*[instrument: \bufPlay2, bufnum: Pseq(monthBuf), dur: seconds, sustain: Pkey(\dur), amp: 1]).trace.play; //-----Clean Up------ CmdPeriod.doOnce{monthBuf.do{|buf, i| buf.free}}; }.fork )