Photon Voice  v2.12
English | 日本語 | 한국
Public Member Functions | List of all members
AudioUtil.LevelMeterFloat Class Reference

LevelMeter specialization for float audio. More...

Inherits AudioUtil.LevelMeter< float >.

Public Member Functions

 LevelMeterFloat (int samplingRate, int numChannels)
 Create new LevelMeterFloat instance. More...
 
override float[] Process (float[] buf)
 
- Public Member Functions inherited from AudioUtil.LevelMeter< float >
void ResetAccumAvgPeakAmp ()
 Reset AccumAvgPeakAmp. More...
 
abstract T[] Process (T[] buf)
 Process a frame of audio data. More...
 
void Dispose ()
 

Additional Inherited Members

- Protected Attributes inherited from AudioUtil.LevelMeter< float >
float ampSum
 
float ampPeak
 
int bufferSize
 
float[] prevValues
 
int prevValuesHead
 
float accumAvgPeakAmpSum
 
int accumAvgPeakAmpCount
 
float currentPeakAmp
 
float norm
 
- Properties inherited from AudioUtil.LevelMeter< float >
float CurrentAvgAmp [get]
 
float CurrentPeakAmp [get, protected set]
 
float AccumAvgPeakAmp [get]
 

Detailed Description

LevelMeter specialization for float audio.

Constructor & Destructor Documentation

LevelMeterFloat ( int  samplingRate,
int  numChannels 
)

Create new LevelMeterFloat instance.

Parameters
samplingRateSampling rate of the audio signal (in Hz).
numChannelsNumber of channels in the audio signal.