Pmsyn:
Filter:
Classes (extension) | Streams-Patterns-Events > Patterns > Filter

Pmsyn
ExtensionExtension

Wrapper to make Pmono work with Syn/Plug
Location: NOT INSTALLED!

Description

Pmono and PmonoArtic are not directly compatible with Syn.

Pmsyn is a wrapper around Pmono and PmonoArtic, so that they work with Syn and support the features of Plugs in patterns.

This class should have no effect if it's wrapping a non-mono pattern (thus, no reason to use it in that case).

NOTE: Plugs will not automatically retrigger for slurred events. If you need re-triggering, you would need to provide a trigger argument, and set it in the pattern. See Examples below.

Class Methods

Inherited class methods

Instance Methods

Inherited instance methods

Examples

Following is an example of applying a Plug midstream.

To do this interactively, you need a pattern that can be modified from outside itself. SuperCollider doesn't provide such a pattern for monophonic sequencing. However, a PbindProxy can generate the sequence data, and this can be chained into a Pmono modify the standard Pbind data into a monophonic sequence (which is then compatible with Pmsyn). p.set() adds or overwrites information in the base stream. Using "...Plug" syntax (Syn: Events and xxxPlug keys) creates the Plug. Because the Plug function is properly closed (no references to variables from containing scopes), only one Plug will be created; it will run continuously. Removing the "...Plug" key causes the Plug to be released, and the parameter to return to its prior behavior.

Or the "...Plug" key can be sequenced. (Note that Pfuncn supplies the "...Plug" function. The function is not evaluated within the pattern, but rather put directly into the Event.)