C# Class DSPUtil.NoiseGenerator

Inheritance: SoundObj
显示文件 Open project: hughpyle/inguz-DSPUtil Class Usage Examples

Private Properties

Property Type Description
Arbitrary IEnumerator
NextRandom double
NextRandom2 double
WhiteFlat IEnumerator
init void

Public Methods

Method Description
NoiseGenerator ( NoiseType type, ushort numChannels, double lengthSecs, uint sampleRate, double gain, bool mono ) : System
NoiseGenerator ( NoiseType type, ushort numChannels, int lengthSamples, uint sampleRate, double gain, bool mono ) : System

Private Methods

Method Description
Arbitrary ( int length, FilterProfile coeffs, uint sampleRate ) : IEnumerator
NextRandom ( ) : double
NextRandom2 ( ) : double
WhiteFlat ( int length ) : IEnumerator
init ( NoiseType type, ushort numChannels, int lengthSamples, uint sampleRate, double gain, bool mono ) : void

Method Details

NoiseGenerator() public method

public NoiseGenerator ( NoiseType type, ushort numChannels, double lengthSecs, uint sampleRate, double gain, bool mono ) : System
type NoiseType
numChannels ushort
lengthSecs double
sampleRate uint
gain double
mono bool
return System

NoiseGenerator() public method

public NoiseGenerator ( NoiseType type, ushort numChannels, int lengthSamples, uint sampleRate, double gain, bool mono ) : System
type NoiseType
numChannels ushort
lengthSamples int
sampleRate uint
gain double
mono bool
return System