Gamma  0.9.5
Generic Synthesis Library
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator
NoiseBrown< RNG > Class Template Reference

Brownian noise. More...

#include <Noise.h>

List of all members.

Public Member Functions

 NoiseBrown (float val=0, float step=0.04, float min=-1, float max=1, uint32_t seed=0)
float operator() ()
 Generate next value.
void seed (uint32_t v)
 Set seed value of RNG.

Detailed Description

template<class RNG = RNGLinCon>
class gam::NoiseBrown< RNG >

Brownian noise.

Brownian noise has a power spectrum of 1/f^2. It is produced by integrating white (uniform) noise. The output value is clipped within a specified interval.


Constructor & Destructor Documentation

NoiseBrown ( float  val = 0,
float  step = 0.04,
float  min = -1,
float  max = 1,
uint32_t  seed = 0 
)
Parameters:
[in]valstart value
[in]stepaccumulation step factor
[in]minminimum of clipping interval
[in]maxmaximum of clipping interval
[in]seedrandom number generator seed; 0 generates a random seed

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