seed
Sets the global seed value for all x-class noise generators, as well as other opcodes that use a random call, such as grain.
Please Note
rand, randh, randi, rnd(x) and birnd(x) are not affected by seed.
Syntax
Performance
Use of seed will provide predictable results from an orchestra using with random generators, when required from multiple performances.
When specifying a seed value, ival should be an integer between 0 and 232. If ival = 0, the value of ival will be derived from the system clock.
Examples
Here is an example of the seed opcode. It uses the file seed.csd.
Its output should include lines like:
i 1 time 0.00067: 100.00000
i 1 time 0.50000: 175.78677
i 1 time 1.00000: 170.89579
WARNING: Seeding from current time 834128659
i 2 time 2.00067: 100.00000
i 2 time 2.50000: 197.58517
i 2 time 3.00000: 188.69525