Public Member Functions | |
| void | processBlock (const float *in, float *out, int numSamples) override |
| Same as inplace processing (ignores the input). More... | |
| void | processInplace (float *data, int numSamples) override |
| Fills the given float array with noise. More... | |
| void | setNoiseType (NoiseType type) |
| Sets the noise type (white or pink noise). More... | |
Public Member Functions inherited from Effect | |
| virtual void | prepareToPlay (double, int) |
| Call this before calls to processBlock / processInplace to setup the effect. More... | |
Additional Inherited Members | |
Protected Member Functions inherited from Effect | |
| void | enableInplaceProcessing (bool shouldBeEnabled, int numMaxSamplesToExpect) |
| Call this in your subclasses prepareToPlay method and tell it to automatically use inplace processing. More... | |
Noise generator.
uniformly distributed white noise, range: -1..1, RMS amplitude: 0.577 pink noise, accuracy: +/- 0.3db (0.00045..0.45fs), RMS amplitude: 0.577
|
overridevirtual |
Same as inplace processing (ignores the input).
Reimplemented from Effect.
|
overridevirtual |
Fills the given float array with noise.
Reimplemented from Effect.
| void setNoiseType | ( | NoiseType | type | ) |
Sets the noise type (white or pink noise).