Skip to content

daisysp::WhiteNoise

More...

#include <whitenoise.h>

Public Functions

Name
WhiteNoise()
~WhiteNoise()
void Init()
void SetAmp(float a)
float Process()
void SetSeed(int32_t s)

Detailed Description

class daisysp::WhiteNoise;

fast white noise generator

I think this came from musicdsp.org at some point

Public Functions Documentation

function WhiteNoise

inline WhiteNoise()

function ~WhiteNoise

inline ~WhiteNoise()

function Init

inline void Init()

Initializes the WhiteNoise object


function SetAmp

inline void SetAmp(
    float a
)

sets the amplitude of the noise output


function Process

inline float Process()

returns a new sample of noise in the range of -amp_ to amp_


function SetSeed

inline void SetSeed(
    int32_t s
)

sets the seed (and corrects a seed of 0 to 1)

---

Updated on 2024-01-03 at 19:38:46 +0000