Pstutter:
Filter:

Pstutter : FilterPattern : Pattern : AbstractFunction : Object

repeat input stream values
Subclasses: PdurStutter

Description

repeat each element n times.

This is also a response to Pattern: -stutter

Class Methods

Pstutter.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