C# Class Accord.Audio.Generators.CosineGenerator

Cosine signal generator.
Inheritance: ISignalGenerator
Datei anzeigen Open project: accord-net/framework

Public Methods

Method Description
CosineGenerator ( ) : System

Constructs a new cosine Signal Generator.

CosineGenerator ( double frequency, double amplitude, int samplingRate ) : System

Constructs a new cosine Signal Generator.

Generate ( int samples ) : Signal

Generates a signal.

Private Methods

Method Description
init ( double frequency, double amplitude, int samplingRate ) : void

Method Details

CosineGenerator() public method

Constructs a new cosine Signal Generator.
public CosineGenerator ( ) : System
return System

CosineGenerator() public method

Constructs a new cosine Signal Generator.
public CosineGenerator ( double frequency, double amplitude, int samplingRate ) : System
frequency double
amplitude double
samplingRate int
return System

Generate() public method

Generates a signal.
public Generate ( int samples ) : Signal
samples int
return Signal