C# Класс DSPUtil.CircularBuffer

A circular buffer. NB: only have one consumer of the iterator at a time!!
Наследование: SoundObj
Показать файл Открыть проект

Открытые методы

Метод Описание
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.

Описание методов

CircularBuffer() публичный Метод

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
Результат System

CircularBuffer() публичный Метод

Create a circular buffer with a given size
public CircularBuffer ( uint bufsize ) : System
bufsize uint Size of the circular buffer
Результат System

Mean() публичный Метод

"Average" - arithmetical mean of all samples in buffer
public Mean ( ) : ISample
Результат ISample

MeanDb() публичный Метод

"Average" - arithmetical mean of dB value of all samples in buffer
public MeanDb ( ) : ISample
Результат ISample

Peak() публичный Метод

Peak value of all samples, ever
public Peak ( ) : ISample
Результат ISample

StdDev() публичный Метод

Standard deviation of all samples in buffer
public StdDev ( ) : ISample
Результат ISample

StdDevDb() публичный Метод

Standard deviation in dB of all samples in buffer
public StdDevDb ( ) : ISample
Результат ISample

this() публичный Метод

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
Результат ISample