Audacity  2.2.2
Public Member Functions | Public Attributes | List of all members
EffectNoiseReduction::Statistics Class Reference

Public Member Functions

 Statistics (size_t spectrumSize, double rate, int windowTypes)
 

Public Attributes

double mRate
 
size_t mWindowSize
 
int mWindowTypes
 
int mTotalWindows
 
int mTrackWindows
 
FloatVector mSums
 
FloatVector mMeans
 

Detailed Description

Definition at line 162 of file NoiseReduction.cpp.

Constructor & Destructor Documentation

EffectNoiseReduction::Statistics::Statistics ( size_t  spectrumSize,
double  rate,
int  windowTypes 
)
inline

Definition at line 165 of file NoiseReduction.cpp.

166  : mRate(rate)
167  , mWindowSize((spectrumSize - 1) * 2)
168  , mWindowTypes(windowTypes)
169  , mTotalWindows(0)
170  , mTrackWindows(0)
171  , mSums(spectrumSize)
172  , mMeans(spectrumSize)
173 #ifdef OLD_METHOD_AVAILABLE
174  , mNoiseThreshold(spectrumSize)
175 #endif
176  {}

Member Data Documentation

FloatVector EffectNoiseReduction::Statistics::mMeans
double EffectNoiseReduction::Statistics::mRate

Definition at line 180 of file NoiseReduction.cpp.

FloatVector EffectNoiseReduction::Statistics::mSums
int EffectNoiseReduction::Statistics::mTotalWindows
int EffectNoiseReduction::Statistics::mTrackWindows
size_t EffectNoiseReduction::Statistics::mWindowSize

Definition at line 181 of file NoiseReduction.cpp.

int EffectNoiseReduction::Statistics::mWindowTypes

Definition at line 182 of file NoiseReduction.cpp.


The documentation for this class was generated from the following file: