Skip to content

Class daisysp::WhiteNoise

ClassList > daisysp > WhiteNoise

More...

  • #include <whitenoise.h>

Public Functions

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

Detailed Description

fast white noise generator

I think this came from musicdsp.org at some point

Public Functions Documentation

function Init

inline void daisysp::WhiteNoise::Init () 

Initializes the WhiteNoise object


function Process

inline float daisysp::WhiteNoise::Process () 

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


function SetAmp

inline void daisysp::WhiteNoise::SetAmp (
    float a
) 

sets the amplitude of the noise output


function SetSeed

inline void daisysp::WhiteNoise::SetSeed (
    int32_t s
) 

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


function WhiteNoise

inline daisysp::WhiteNoise::WhiteNoise () 

function ~WhiteNoise

inline daisysp::WhiteNoise::~WhiteNoise () 


The documentation for this class was generated from the following file external-docs/DaisySP/Source/Noise/whitenoise.h