Public Member Functions | List of all members
Noise Class Reference

Noise generator. More...

Inheritance diagram for Noise:
Effect

Public Member Functions

void processBlock (const float *in, float *out, int numSamples) override
 Same as inplace processing (ignores the input). More...
 
void processInplace (float *data, int numSamples) override
 Fills the given float array with noise. More...
 
void setNoiseType (NoiseType type)
 Sets the noise type (white or pink noise). More...
 
- Public Member Functions inherited from Effect
virtual void prepareToPlay (double, int)
 Call this before calls to processBlock / processInplace to setup the effect. More...
 

Additional Inherited Members

- Protected Member Functions inherited from Effect
void enableInplaceProcessing (bool shouldBeEnabled, int numMaxSamplesToExpect)
 Call this in your subclasses prepareToPlay method and tell it to automatically use inplace processing. More...
 

Detailed Description

Noise generator.

uniformly distributed white noise, range: -1..1, RMS amplitude: 0.577 pink noise, accuracy: +/- 0.3db (0.00045..0.45fs), RMS amplitude: 0.577

Member Function Documentation

void processBlock ( const float *  in,
float *  out,
int  numSamples 
)
overridevirtual

Same as inplace processing (ignores the input).

Reimplemented from Effect.

void processInplace ( float *  data,
int  numSamples 
)
overridevirtual

Fills the given float array with noise.

Reimplemented from Effect.

void setNoiseType ( NoiseType  type)

Sets the noise type (white or pink noise).

©2017 HISE. This documentation is autogenerated from the HISE source code using Doxygen.