pl-nk v0.4.5
Plonk|Plink|Plank are a set of cross-platform C/C++ frameworks for audio software development
Static Public Member Functions
WhiteNoiseUnit< SampleType > Class Template Reference

A white noise generator. More...

List of all members.

Static Public Member Functions

static UnitType ar (UnitType const &mul=SampleType(1), UnitType const &add=SampleType(0), BlockSize const &preferredBlockSize=BlockSize::getDefault(), SampleRate const &preferredSampleRate=SampleRate::getDefault()) throw ()
 Create an audio rate white noise generator.
static UnitType kr (UnitType const &mul=SampleType(1), UnitType const &add=SampleType(0)) throw ()
 Create a control rate white noise generator.

Detailed Description

template<class SampleType>
class WhiteNoiseUnit< SampleType >

A white noise generator.

Factory functions:
  • ar (mul=1, add=0, preferredBlockSize=default, preferredSampleRate=default)
  • kr (mul=1, add=0)
Inputs:
  • mul: (unit, multi) the multiplier applied to the output
  • add: (unit, multi) the offset aded to the output
  • preferredBlockSize: the preferred output block size (for advanced usage, leave on default if unsure)
  • preferredSampleRate: the preferred output sample rate (for advanced usage, leave on default if unsure)

Member Function Documentation

template<class SampleType >
static UnitType WhiteNoiseUnit< SampleType >::ar ( UnitType const &  mul = SampleType (1),
UnitType const &  add = SampleType (0),
BlockSize const &  preferredBlockSize = BlockSize::getDefault(),
SampleRate const &  preferredSampleRate = SampleRate::getDefault() 
) throw () [inline, static]

Create an audio rate white noise generator.

template<class SampleType >
static UnitType WhiteNoiseUnit< SampleType >::kr ( UnitType const &  mul = SampleType (1),
UnitType const &  add = SampleType (0) 
) throw () [inline, static]

Create a control rate white noise generator.


The documentation for this class was generated from the following file:
 All Classes Functions Typedefs Enumerations Enumerator Properties