-
... trans2 = interp2.globalState()[\transpose].debug("trans2"); n1 = Pseq(interp.globalState()[\patternnotes].debug("notes1")); n2 = Pseq(interp2.globalState()[\patternnotes].debug("notes2")); l = interp.globalState()[\ ...
-
... ,inf), \samp, Pexprand(0.07,0.5,inf), \rate, Pexprand(0.1,3,inf), \cfreq, Pseq([ Pseries(120,30,76), Pseries(2400,-30,76), ],inf), \rq, Pkey(\samp)+Pwhite(0.1,0.15,inf).asStream, \atk, Pexprand(0.04,0.3,inf), \decay, Pex ...
-
... (15) y.asStream.nextN(15) // sequencing of logical operations p = PSVop([3, 3], Pseq([\u, \sd], inf)) p.asStream.nextN(15) // specify difference q = PSVop([2, 5], \d, 1) q.asStream.nextN(100) r = PSVop([2, 5], \d, 0) r.asStream.nextN(100) ⧉ ...
-
... Stream ( event ) . patternpairs . patternpairs = value Examples ( a = Pbind(\x, Pseq([1, 2, 3]), \zzz, 9000); // input stream b = Pbindf(a, \y, Prand([100, 300, 200], inf), \zzz, 99); x = b.asStream; ) x.next(()); // pass in an event () x.n ...
-
... { SinOsc.ar(\freq.kr(220) + \fm.ar) * EnvPerc.ar(release: 0.5) }, dur: 0.5, fm: Pseq([ AlgaTemp({ SinOsc.ar(200) }, scale: [-100, 100]), AlgaTemp({ Saw.ar(40) }, scale: [-200, 200]) ], inf) )).play(chans: 2); }); ) //Connect a new Prand usi ...
-
... s defined to produce 'points' it can e.g. be wrapped into a Pdiff). Sieve.union(Pseq([1, 10], inf), 5, 7, `30) Sieve.union({ loop { rrand(1,10).yield } }.r, 5, 7, `30) // compare with result from the pattern alone // a union with one argume ...
-
... ods Examples s.boot; s.meter; s.plotTree; a= RedMixerChannel(0); b= Pbind(\pan, Pseq([-1, 1], inf), \dur, 0.5, \amp, 0.5).play; c= a.gui; //optional a.vol= -9 a.out= 20 //this will move and the (internal ReplaceOut) the mixerchannel to bus ...
-
... ot visible to the outside world as a pattern in itself; only its values appear. Pseq ([ Pwhite (0, 9, 5), Pwhite (10, 19, 5)], 1).asStream.all; When using Pspawn, a sub pattern must be returned directly into the event. To accomplish this, e ...
-
... ct = (key: \otto); // if the object understands .key, key gets shown g.object = Pseq([1, 2, 3], inf); g.close; */
-
... replace repeats ~r = 3; // replace array elements ~ a[0] = [77, 93.5]; ~ a[2] = Pseq ((94..96)); // replace whole array ~ a = [55, 52]; x.stop; ////////////////////// // placeholder may also get lists of event patterns ( p = PLser ( \a, 3 ) ...