2 summary:: returns time in beats from moment of embedding in stream
4 categories:: Streams-Patterns-Events>Patterns>Time
18 // post time in a playing event stream
21 \pfunc, Ptime.new.trace,
22 \dur, Pseries(0.5, 0.5, 5)
27 // change degree independant of number of events that have been playing
32 \degree, Pswitch(#[0, 2b, 3], Ptime(8).round(2) / 2),
33 \dur, Prand(#[0.2, 0.5, 1.1, 0.25, 0.15], inf)
36 \degree, Pseq(#[0, 2b, 3], 1),
40 Pseq([Event.silent(1.25), Ppar([a, b])], inf).play;
49 \degree, Pswitch(#[0, 2b, 3], Ptime(8).round(2) / 2),
50 \dur, Prand(#[0.2, 0.5, 1.1, 0.25, 0.15], 9)
53 \degree, Pseq(#[0, 2b, 3], 1),
58 Pfset({ ~tempo = #[1, 2, 4].choose.postln },