René Nyffenegger's collection of things on the web
René Nyffenegger on Oracle - Most wanted - Feedback -
 

randi (Csound opcode)

kr      randi      kamp, kcps[, iseed[, isize[, koffset]]]
Outputs random numbers between +amp and -amp
kcps: Frequency of random values generated. Permits to generate random values at a rate less than the sampling or control frequency.
iseed: Seed value for the recursive pseudo-random formula. A value between 0 and +1 will produce an initial output of kamp * iseed. A negative value will cause seed re-initialization to be skipped. A value greater than 1 will obtain the seed value from the system clock. Default: 0.5.
This opcode will produce straight-line interpolation between each new number and the next. (This is actually the difference to randh)
See also rand and randh.