|
Gin
|
White noise generator using a normal distribution. More...
#include <gin_noise.h>
Public Member Functions | |
| WhiteNoise () | |
| float | nextSample () |
White noise generator using a normal distribution.
WhiteNoise produces random samples with a flat frequency spectrum (equal power across all frequencies). Uses C++ standard library's normal distribution with mean 0.0 and standard deviation 0.1.
White noise characteristics:
Usage:
Note: Each instance is seeded with a random device, ensuring different sequences across instances.
| WhiteNoise::WhiteNoise | ( | ) |
| float WhiteNoise::nextSample | ( | ) |
Referenced by NoiseState::process(), and BandLimitedLookupTables::process().