Home Information Classes Download Usage Mail List Requirements Links FAQ Tutorial
#include <Noise.h>
Inheritance diagram for Noise:
Generic random number generation using the C rand() function. The quality of the rand() function varies from one OS to another.
by Perry R. Cook and Gary P. Scavone, 1995 - 2007.
Public Member Functions | |
Noise () | |
Default constructor which seeds the random number generator with the system time. | |
Noise (unsigned int seed) | |
Constructor which seeds the random number generator with a given seed. | |
virtual | ~Noise () |
Class destructor. | |
void | setSeed (unsigned int seed=0) |
Seed the random number generator with a specific seed value. |
|
Constructor which seeds the random number generator with a given seed. If the seed value is zero, the random number generator is seeded with the system time. |
|
Seed the random number generator with a specific seed value. If no seed is provided or the seed value is zero, the random number generator is seeded with the current system time. |
The Synthesis ToolKit in C++ (STK) |
©1995-2007 Perry R. Cook and Gary P. Scavone. All Rights Reserved. |