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 164 of file NoiseReduction.cpp.

Constructor & Destructor Documentation

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

Definition at line 167 of file NoiseReduction.cpp.

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

Member Data Documentation

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

Definition at line 182 of file NoiseReduction.cpp.

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

Definition at line 183 of file NoiseReduction.cpp.

int EffectNoiseReduction::Statistics::mWindowTypes

Definition at line 184 of file NoiseReduction.cpp.


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