PLbindefPar employs a number of parallel PLbindefs, replacement of key streams can be done in object prototyping style with a dedicated PLbindefParEnvironment, which also holds player methods. This hybrid Environment is itself assigned to the PLbindefPar's name in an Environment of choice, by default the current Environment. Setting can thus be done in very condensed syntax, also in combination with EventShortcuts. For more info on object prototyping see Environment: Using Environments as object prototypes.
remove
or Pdef.removeAll
after using PLbindef / PLbindefPar as in examples below. Otherwise unwanted or strange behaviour might be caused by leftover sources when playing a new PLbindef / PLbindefPar example with the same key. With SC >= 3.7 occasional posts of the default parent event occur with Pbindef, so also with PLbindef, this doesn't cause problems though.Creates a new PLbindefPar object or sets sources of an existing one.
... args |
First arg should be the name, followed by num, the number of parallel PLbindefs, and the key/value pairs. Values are assigned to single PLbindefs according to the convention of PLbindefParEnvironment: -put, see there and examples below. The last arg can be an optional environment which determines where the corresponding PLbindefParEnvironment should be stored, by default this is the current Environment at instantiation time. |
Getter for PLbindefPar's PLbindefParEnvironment.
Getter for the Environment where PLbindefPar's PLbindefParEnvironment is associated with PLbindefPar's key.
Getter for PLbindefPar's number of parallel PLbindefs.
Plays all corresponding PLbindefs with passed arguments, which might be arrays. In this case wrapped indexing is applied.
Resets all corresponding PLbindefs.
Stops all corresponding PLbindefs.
Clears all corresponding PLbindefs.
Removes not only the PLbindefPar but also associated PLbindefs from global entry.
Returns corresponding PLbindefs.
Use SynthDefs from above.
Use SynthDefs from above.
See also Ex.7c: Replacement with Pbindef