C# Class DSPUtil.CircularBuffer

A circular buffer. NB: only have one consumer of the iterator at a time!!
Inheritance: SoundObj
Afficher le fichier Open project: hughpyle/inguz-DSPUtil

Méthodes publiques

Méthode Description
CircularBuffer ( ISoundObj input, uint bufsize ) : System

Create a circular buffer with a given size

CircularBuffer ( uint bufsize ) : System

Create a circular buffer with a given size

Mean ( ) : ISample

"Average" - arithmetical mean of all samples in buffer

MeanDb ( ) : ISample

"Average" - arithmetical mean of dB value of all samples in buffer

Peak ( ) : ISample

Peak value of all samples, ever

StdDev ( ) : ISample

Standard deviation of all samples in buffer

StdDevDb ( ) : ISample

Standard deviation in dB of all samples in buffer

this ( int arg ) : ISample

Access the nth sample. Sample zero is always the "current" sample (the one most recently returned from the iterator). Sample[-1] is the previous sample. Sample [1] is the oldest sample we have in buffer.

Method Details

CircularBuffer() public méthode

Create a circular buffer with a given size
public CircularBuffer ( ISoundObj input, uint bufsize ) : System
input ISoundObj Input stream
bufsize uint Size of the circular buffer
Résultat System

CircularBuffer() public méthode

Create a circular buffer with a given size
public CircularBuffer ( uint bufsize ) : System
bufsize uint Size of the circular buffer
Résultat System

Mean() public méthode

"Average" - arithmetical mean of all samples in buffer
public Mean ( ) : ISample
Résultat ISample

MeanDb() public méthode

"Average" - arithmetical mean of dB value of all samples in buffer
public MeanDb ( ) : ISample
Résultat ISample

Peak() public méthode

Peak value of all samples, ever
public Peak ( ) : ISample
Résultat ISample

StdDev() public méthode

Standard deviation of all samples in buffer
public StdDev ( ) : ISample
Résultat ISample

StdDevDb() public méthode

Standard deviation in dB of all samples in buffer
public StdDevDb ( ) : ISample
Résultat ISample

this() public méthode

Access the nth sample. Sample zero is always the "current" sample (the one most recently returned from the iterator). Sample[-1] is the previous sample. Sample [1] is the oldest sample we have in buffer.
public this ( int arg ) : ISample
arg int n
Résultat ISample