Keeps a reference to a stream that can be replaced while in use.
create a new instance with a pattern (the source). The pattern should be an event pattern (see Pdef)
a default source, if none is given. the default is a Pbind with resting notes of 1.0 beat duration.
set the default quantization value for the class.
set the source (a pattern). If a quantization is given, schedule this change to the next beat ( pattern_(..) is equivalent)
set the source to nil and stop playing
get or set the instance's default clock, used by -play if no other clock is specified. Defaults to TempoClock.default.
get or set the quantization value. can be an array [quant, phase, offset, outset]
when the synthdefs that are used contain an \amp control, the patterns are replaced by crossfading the previous with the new over this time (in beats)
provide a default event for the Pdef. It is used to filter the incoming stream before it is passed to the source pattern. This is similar to NodeProxy: -nodeMap. When set for the first time, the pattern is rebuilt.
set arguments in the default event. If there is none, it is created and the pattern is rebuilt.
Given a Stream like e.g. Routine, yield all values from the pattern in the proxy before continuing. One pattern proxy can be used to produce values for any number of independent streams.
| inval |
The inval is an Event and is passed into all substreams. It can be used to control how they behave from the outside. |
| embed |
See Object: -streamArg for explanation. |
| default |
Replacement for |
starts the EventPatternProxy and creates a player. if you want to play multiple instances, use -fork.
| argClock |
play on a certain clock, e.g. a TempoClock. If nil uses this instance's -clock, which in turn defaults to TempoClock.default. |
| protoEvent |
an event to be used as a first input to the chain |
| quant |
can be an array of [quant, phase, offset, outset], or an instance of Quant. |
| doReset |
if set to true, play will restart the stream if already running (a Boolean). |
stops the player
the current player (if the Pdef is simply used in other streams this is nil)
perform player method
returns true if Pdef is running. if a Pdef is playing and its stream ends, it will schedule a stream for playing as soon as a new one is assigned to it.