randomSignal Generators:Random (Noise) Generatorsrandomrandom
Generates a controlled pseudo-random number series between min and max values.
Description
Generates is a controlled pseudo-random number series between min and max values.
Syntaxares random kmin, kmaxires random imin, imaxkres random kmin, kmaxInitializationimin -- minimum range limit
imax -- maximum range limit
Performancekmin -- minimum range limit
kmax -- maximum range limit
The random opcode is similar to linrand and trirand but sometimes I [&namegabriel;] find it more convenient because allows the user to set arbitrary minimum and maximum values.
Examples
Here is an example of the random opcode. It uses the file random.csd.
Example of the random opcode.See the sections Real-time Audio and Command Line Flags for more information on using command line flags.
Its output should include lines like:
i 1 time 0.00067: 894.58566
i 1 time 0.50000: 748.44281
i 1 time 1.00000: 328.29916
WARNING: Seeding from current time 1656666052
i 2 time 2.00067: 690.71466
i 2 time 2.50000: 459.42445
i 2 time 3.00000: 100.85594
See alsoRandom (Noise) GeneratorsCreditsAuthor: &namegabriel;