C# 클래스 DSPUtil.CircularBuffer

A circular buffer. NB: only have one consumer of the iterator at a time!!
상속: SoundObj
파일 보기 프로젝트 열기: hughpyle/inguz-DSPUtil

공개 메소드들

메소드 설명
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