an open-source digital signal processing and sound synthesis language
about · links · contact

brrand/sbrrand

pseudo-random number generator and initialization

This runs a block-computing version of the rrand random number generator and srrand seed/initiliaztion program.

From the source code:


/* block version of rrand */
/* a modification of unix rand() to return floating point values between
   + and - 1. */

sbrrand(unsigned int x)
brrand(float amp, float *a, int j)