PlazyEnvir:
Filter:
Classes | Streams-Patterns-Events > Patterns > Function

PlazyEnvir : Plazy : Pattern : AbstractFunction : Object

instantiate new patterns from a function
Source: Ppatmod.sc
Subclasses: PlazyEnvirN

Description

Evaluates a function that returns a pattern and embeds it in a stream. In difference to Plazy, the function is evaluated using the environment passed in by the stream.

Class Methods

PlazyEnvir.new(func)

From superclass: Plazy

Arguments:

func

A Function that returns a pattern or any other valid pattern input.

Inherited class methods

Instance Methods

Inherited instance methods

Undocumented instance methods

.embedInStream(inval)

.passEvent

.passEvent = value

Examples

For more about the composition operator <> see: Pchain.

Some parameters, like duration, cannot be used in the form of an array in the Pbind. For full parallel expansion see PlazyEnvirN.