Classes | Streams-Patterns-Events > Patterns > List

Pseq : ListPattern : Pattern : AbstractFunction : Object

sequentially embed values in a list
Subclasses: Place, Ppatlace, Pser


Cycles over a list of values. The repeats variable gives the number of times to repeat the entire list.

Class Methods

Inherited class methods

Undocumented class methods, repeats: 1, offset: 0)

Instance Methods

Inherited instance methods

Undocumented instance methods



.offset = value


Pseq also has an offset argument which gives a starting offset into the list.

You can pass a function for the repeats variable that gets evaluated when the stream is created.

If you specify the value inf for the repeats variable, then it will repeat indefinitely.

Pseq used as a sequence of pitches: