-
... 8 b = a.asStream; 9.do({ b.next.postln; }); // print 9 values from stream ) ⧉ ✔ Pgeom is a Pattern that generates a geometric series. ( var a, b; a = Pgeom.new(10, 3, 8); // stream starts at 10, steps by factor of 3 and has length 8 b = a.a ...
-
... 0.4, 0.5, 0.8, 1, 2], inf) )).trace.play(~bpm); ) // ex. 4 ( Pstretch(Pn(Pgeom(0.5, 1.1, 14)), // can also stretch by pattern! Pbindf(~melody.p, \instrument, "plucking", \decay, 1, \dampen, 0.1, \amp, 1, \ctranspose, ...
-
... Pdict , Penvir , Pevent , Peventmod , Pfhn , Pfunc , Pfuncn , Pgauss , Pgbman , Pgeom , Pget , Phenon , Pif , Pindex , Pkey , Platoo , Plazy , Plet , PlinCong , Plorenz , Pmono , Pnaryop , Ppatmod , Ppoisson , Pprob , Pproto , Pquad , Prout ...
-
... duration to get the sustain time. ( // changing duration Pbind ( \dur , Pseq ([ Pgeom (0.05, 1.1, 24), Pgeom (0.5, 0.909, 24) ], inf ), \midinote , Pseq (#[60, 58], inf ) ).play ) ( // changing legato value Pbind ( \dur , 0.2, \legato , Pse ...
-
... st PeakFollower Peep Pen Pevent PfadeIn PfadeOut Pfindur Pfset Pfunc Pfuncn Pfx Pgeom Pindex Plag PlayButton PlayerAmpGui PlayerBinop PlayerBinopGui PlayerEffectGui PlayerEfxFuncGui PlayerMixerGui PlayerPoolGui PlayerSpec PlayerUnopGui Ploo ...
-
... te duration to get the sustain time. ( // changing duration Pbind( \dur, Pseq([ Pgeom(0.05, 1.1, 24), Pgeom(0.5, 0.909, 24) ], inf), \midinote, Pseq(#[60, 58], inf) ).play ) ( // changing legato value Pbind( \dur, 0.2, \legato, Pseq([ Pseri ...
-
... . One use case is -endless . a = EventPatternProxy.new; a.source = Pbind(\freq, Pgeom(100, Pwhite(1.01, 1.2), 4)); r = Routine { |inval| loop { a.embedInStream(inval) } }; r.nextN(12, ()); // the next 12 values from r a.source = Pbind(\freq ...
-
... hs_( nil, 4 ); // change filter and panning patterns q.putArg( \ffreq , Pseq ([ Pgeom (800, 1.2, 18)], inf )); q.putArg( \pan , Pseq ([ Pseries (-1, 0.05, 40)], inf )); q.stop; // you should stop the sequencer before stopping the clock; // ...
-
... hs_( nil, 4 ); // change filter and panning patterns q.putArg( \ffreq , Pseq ([ Pgeom (800, 1.2, 18)], inf )); q.putArg( \pan , Pseq ([ Pseries (-1, 0.05, 40)], inf )); q.stop; // you should stop the sequencer before stopping the clock; // ...
-
... value; // Patterns, Streams, UGens, and Proxies are AbstractFunctions, too: a = Pgeom(1, 2, 5).neg; a.asStream.nextN(8); { a = LFNoise1.ar(1500); [a, a.neg] }.plot; ⧉ ✔ . reciprocal a = { 10.rand.postln }; b = a.reciprocal; b.value; a = Pge ...