Print out the results of a stream while returning the original values.
Tracing a pattern is most commonly done by using the .trace method directly on the pattern like this:
Pbind(\degree, Pwhite(0,10)).trace.play
pattern |
printOn this stream (default: Post). |
key |
when streaming events, post only this key. |
printStream |
(describe argument here) |
prefix |
string added to the printout to separate different streams. |
Original values
inval |
(
// An event pattern playing random scale degrees
p = Pbind(\dur, 0.125, \degree, Pwhite(0,10));
// Se what the value of the scale degrees are using trace
Ptrace(p, \degree, prefix: "Current scale degree: ").play
)