Pfuncn:
Filter:
Classes | Streams-Patterns-Events > Patterns > Function

Pfuncn : Pattern : AbstractFunction : Object

Function pattern of given length
Source: Patterns.sc

Description

Returns a stream that returns values from the func.

Class Methods

Pfuncn.new(func, repeats: 1)

Arguments:

func

Stream function. In an event stream receives the current Event as argument.

repeats

End after this number of times.

Inherited class methods

Instance Methods

Inherited instance methods

Undocumented instance methods

.embedInStream(inval)

.func

.func = value

.repeats

.repeats = value

Examples

Sound example