Simple object that generates white, gaussian white or pink noise.
More...
#include <synthbase.h>
|
double | bN [3] = { 0.0, 0.0, 0.0 } |
|
float | g_fScale = 2.0f / 0xffffffff |
|
int | g_x1 = 0x67452301 |
|
int | g_x2 = 0xefcdab89 |
|
Simple object that generates white, gaussian white or pink noise.
- Author
- Will Pirkle http://www.willpirkle.com
- Version
- Revision : 1.0
- Date
- Date : 2021 / 04 / 26
◆ doGaussianWhiteNoise()
double SynthLab::NoiseGenerator::doGaussianWhiteNoise |
( |
double |
mean = 0.0 , |
|
|
double |
variance = 1.0 |
|
) |
| |
◆ doPinkingFilter()
double SynthLab::NoiseGenerator::doPinkingFilter |
( |
double |
white | ) |
|
run the pinking filter
- Parameters
-
white | the white noise input sample |
- Returns
- the pink-noise filtered signal
◆ bN
double SynthLab::NoiseGenerator::bN[3] = { 0.0, 0.0, 0.0 } |
|
protected |
pinking filter coefficients
◆ defaultGeneratorEngine
std::default_random_engine SynthLab::NoiseGenerator::defaultGeneratorEngine |
The documentation for this class was generated from the following files: