PLbindefEnvironment:
Filter:
Classes (extension) | Libraries > miSCellaneous > PLx suite | Streams-Patterns-Events > PLx suite

PLbindefEnvironment : Environment : IdentityDictionary : Dictionary : Set : Collection : Object
ExtensionExtension

Environment made by PLbindef to play and set its sources
Source: PLbindef.sc

Description

Instances of this class are made as side effect of PLbindef creation, assigned to PLbindef's name in an Environment of choice (by default the current one) and used as player interface as well as for setting PLbindef's sources in condensed prototyping syntax. They are not thought to be created explicitely though. See PLbindef for examples.

Class Methods

PLbindefEnvironment.new(n: 8, proto, parent, know: true, name, plbindef)

Creates a new PLbindefEnvironment object with arguments of IdentityDictionary. In contrast to the latter know defaults to true, which allows setting sources of the PLbindef in object prototyping style. name is used for the corresponding key of the PLbindef. Normally not to be used explicitely.

Inherited class methods

Instance Methods

.put(key, obj)

Associates obj with Symbol key and updates PLbindef's source.

.superPut(key, obj)

Associates obj with Symbol key mimicing IdentityDictionary: -put.

.value( ... args)

Expects key/value pairs and applies put.

.name

Getter for PLbindef's key.

.plbindef

Getter for the corrresponding PLbindef.

.play(clock, protoEvent, quant, doReset: false)

Plays all corresponding PLbindefs with passed arguments, which might be arrays. In this case wrapped indexing is applied.

.isPlaying

Indicates if the corresponding PLbindef is playing.

.reset

Resets the corresponding PLbindef.

.stop

Stops the corresponding PLbindef.

.clear

Clears the corresponding PLbindef.

.remove

Removes the corresponding PLbindef.

Inherited instance methods