trandomSignal Generators:Random (Noise) Generatorstrandomtrandom
Generates a controlled pseudo-random number series between min and max values according to a trigger.
Description
Generates a controlled pseudo-random number series between min and max values at k-rate whenever the trigger parameter is different to 0.
Syntaxkout trandom ktrig, kmin, kmaxPerformancektrig -- trigger (opcode produces a new random number whenever this value is not 0.
kmin -- minimum range limit
kmax -- maximum range limit
trandom is almost identical to random opcode, except trandom updates its output with a new random value only when the ktrig argument is triggered (i.e. whenever it is not zero).
Examples
Here is an example of the trandom opcode. It uses the file trandom.csd.
Example of the trandom opcode.See the sections Real-time Audio and Command Line Flags for more information on using command line flags.See alsoRandom (Noise) GeneratorsCreditsWritten by Gabriel Maldonado.New in Csound 5.06