Audio Level Meter. More...
Inherits IProcessor< T >, and AudioUtil.ILevelMeter.
Public Member Functions | |
void | ResetAccumAvgPeakAmp () |
Reset AccumAvgPeakAmp. More... | |
abstract T[] | Process (T[] buf) |
Process a frame of data. More... | |
void | Dispose () |
Protected Attributes | |
float | ampSum |
float | ampPeak |
int | bufferSize |
float[] | prevValues |
int | prevValuesHead |
float | accumAvgPeakAmpSum |
int | accumAvgPeakAmpCount |
float | currentPeakAmp |
float | norm |
Properties | |
float | CurrentAvgAmp [get] |
float | CurrentPeakAmp [get, protected set] |
float? | AccumAvgPeakAmp [get] |
Properties inherited from AudioUtil.ILevelMeter | |
float | CurrentAvgAmp [get] |
Average amplitude value over last half second. More... | |
float | CurrentPeakAmp [get] |
Maximum amplitude value over last half second sec. More... | |
float | AccumAvgPeakAmp [get] |
Average of CurrentPeakAmps since last reset. More... | |
Audio Level Meter.
|
pure virtual |
Process a frame of data.
buf | Buffer containing input data |
Implements IProcessor< T >.
void ResetAccumAvgPeakAmp | ( | ) |
Reset AccumAvgPeakAmp.
Implements AudioUtil.ILevelMeter.