DaisySP
Loading...
Searching...
No Matches
Public Member Functions | List of all members
daisysp::WhiteNoise Class Reference

#include <whitenoise.h>

Public Member Functions

void Init ()
 
void SetAmp (float a)
 
float Process ()
 
void SetSeed (int32_t s)
 

Detailed Description

fast white noise generator

I think this came from musicdsp.org at some point

Member Function Documentation

◆ Init()

void daisysp::WhiteNoise::Init ( )
inline

Initializes the WhiteNoise object

◆ Process()

float daisysp::WhiteNoise::Process ( )
inline

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

◆ SetAmp()

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

sets the amplitude of the noise output

◆ SetSeed()

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

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


The documentation for this class was generated from the following file: