-
Ptime derive relative time superclass: Pattern returns time in beats from moment of embedding in stream Ptime(repeats) ( a = Ptime .new; x = a.asStream; ) x.next; x.next; x.next; // post time in a playing event stream ( Pbind ( \pfunc , Pti ...
-
... ll. Only a scheduling context can ensure precise timing of requests for values. Ptime(repeats): Returns the amount of time elapsed since embedding. One nice trick with this pattern is to stop a value stream/pattern after a certain amount of ...
-
... inf ), \dur , Pwrand ([0.25, Pn (0.125, 2)], #[0.8, 0.2], inf ), \legato , sin( Ptime ( inf ) * 0.5).linexp(-1, 1, 1/3, 3), \amp , Pexprand (0.5, 1.0, inf ) ).play(quant: 1); ) p.stop; Previous: PG_Cookbook03_External_Control Next: PG_Cookb ...
-
... event is rounded up to the next integer multiple of quant. Time-based patterns Ptime(repeats): Returns the amount of time elapsed since embedding. Pstep(levels, durs, repeats): Repeat a 'level' value for its corresponding duration, then mo ...