-
... //////////////////// // lifting patterns ( // a pattern that returns arrays p = Ptuple([Pseries(1, 3, inf), Pseries(3, -1, inf), Pseries(0, 0.1, inf)]); a = Lift1(p, { |receiver, func, args| receiver.collect { |x| func.(x, args) } }) ) b = ...
-
... ( \dur , 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 param ...
-
... func { p[5] - 7 }; r = Pfunc { p[10] - 14 }; t = Pfunc { p[15] - 21 }; u = PS ( Ptuple ([p,q,r,t]), bufSize: 100); a = Plotter ().superpose_( true ).plotMode_( \plines ); a.value = u.iter.nextN(100).flop ) // playback stored pitches ( v = P ...
-
... = Pbind( \dur, 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: rhyt ...
-
... Pfunc { p[5] - 7 }; r = Pfunc { p[10] - 14 }; t = Pfunc { p[15] - 21 }; u = PS(Ptuple([p,q,r,t]), bufSize: 100); a = Plotter().superpose_(true).plotMode_(\plines); a.value = u.iter.nextN(100).flop ) // playback stored pitches ( v = Pbind( ...
-
... g ( Pseq ([65, 85], inf ), 5, \sin ).round; p = Pbind ( \dur , 1/7, \midinote , Ptuple ([ PLIdev ( \src , 1, -1, 1), PLIdev ( \src , 3, -5, 5) + 8.5 ]).trace(prefix: "midi " ), ).play; ) p.stop Ex.7) Application to other params: rhythm // i ...
-
... seq ([4, 10, 40], inf ), \dur , Pseq ([1, 1, 2, 1]/10, inf ), #[freq, sustain], Ptuple ([ // assignment to multiple keys Pseq ( (1..16) * 50, 4), Pseq ([1/10, 0.5, 1, 2], inf ) ]) ).play ) It is possible to specify a Pbind with an Array pre ...
-
... e, Pseq([1],inf), //\env2scale, Pseq([1,[0.4,0.8]],inf), //\lag, Pseq([0, Ptuple([0,Pwhite(0.01,0.071,1)])],inf), ).stutter(8) ); Pdef(\snare2, Pbind( \instrument, \snare, \degree, Pseq([0],inf), \dur, 1/4, \i ...
-
... t, repeats ) - random selection from list Pn ( Pshuf ([p, q, r, r, p])).play // Ptuple(list, repeats) Pbind ( \degree , Ptuple ([ Pwhite (1, -6), Pbrown (8, 15, 2)]), \dur , Pfunc ({ arg ev; ev.at( \degree ).last/80 round: 0.1}), \db , Pfun ...
-
... rc = Pseg(Pseq([65, 85], inf), 5, \sin).round; p = Pbind( \dur, 1/7, \midinote, Ptuple([ PLIdev(\src, 1, -1, 1), PLIdev(\src, 3, -5, 5) + 8.5 ]).trace(prefix: "midi "), ).play; ) p.stop ⧉ ✔ Ex. 7: Application to other params: rhythm // if w ...