Pseed:
Filter:

Pseed : FilterPattern : Pattern : AbstractFunction : Object

set the random seed in subpattern
Source: Pseed.sc

Description

Set the random generator seed of the resulting stream.

Class Methods

Pseed.new(randSeed, pattern)

Arguments:

randSeed

integer number, pattern or stream that returns an integer number.

NOTE: randSeed is always treated as a pattern/stream. If you provide a single, constant seed value, it will behave as an infinite-length stream. This will cause the subpattern to be embedded an infinite number of times. Compare:
pattern

Inherited class methods

Instance Methods

Inherited instance methods

Undocumented instance methods

.embedInStream(inval)

.randSeed

.randSeed = value

Examples