Photon Voice
v2.58
LevelMeter specialization for short audio. More...
Inherits AudioUtil.LevelMeter< short >.
Public Member Functions | |
| LevelMeterShort (int samplingRate, int numChannels) | |
| Create new LevelMeterShort instance. More... | |
| override short[] | Process (short[] buf) |
Public Member Functions inherited from AudioUtil.LevelMeter< short > | |
| void | ResetAccumAvgPeakAmp () |
| Reset AccumAvgPeakAmp. More... | |
| abstract T[] | Process (T[] buf) |
| Process a frame of data. More... | |
| void | Dispose () |
Additional Inherited Members | |
Protected Attributes inherited from AudioUtil.LevelMeter< short > | |
| float | ampSum |
| float | ampPeak |
| int | bufferSize |
| float[] | prevValues |
| int | prevValuesHead |
| float | accumAvgPeakAmpSum |
| int | accumAvgPeakAmpCount |
| float | currentPeakAmp |
| float | norm |
Properties inherited from AudioUtil.LevelMeter< short > | |
| float | CurrentAvgAmp [get] |
| float | CurrentPeakAmp [get, protected set] |
| float? | AccumAvgPeakAmp [get] |
LevelMeter specialization for short audio.
| LevelMeterShort | ( | int | samplingRate, |
| int | numChannels | ||
| ) |
Create new LevelMeterShort instance.
| samplingRate | Sampling rate of the audio signal (in Hz). |
| numChannels | Number of channels in the audio signal. |