Classes | Streams-Patterns-Events > Patterns > List

Pseq : ListPattern : Pattern : AbstractFunction : Object

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

Description

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

Class Methods

Inherited class methods

1 methods from ListPattern ► show
7 methods from Object ► show

Undocumented class methods

Pseq.new(list, repeats: 1, offset: 0)

Instance Methods

Inherited instance methods

3 methods from ListPattern ► show
43 methods from Pattern ► show
159 methods from AbstractFunction ► show
260 methods from Object ► show

Undocumented instance methods

.embedInStream(inval)

.offset

.offset = value

Examples

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: