Pdup:
Filter:

Pdup : FilterPattern : Pattern : AbstractFunction : Object

repeat input stream values
Subclasses: PdurStutter, Psubdivide

Description

repeat each element n times.

This is also a response to Pattern: -dup

Class Methods

Pdup.new(n, pattern)

Arguments:

n

The number of repeats for each new element. n may be a pattern, so the number of times can vary each iteration.

pattern

the pattern to repeat.

Inherited class methods

Instance Methods

Inherited instance methods

Undocumented instance methods

.embedInStream(event)

.n

.n = value

Examples