Audacity  3.0.3
Public Member Functions | Public Attributes | List of all members
EffectNoiseReduction::Statistics Class Reference
Collaboration diagram for EffectNoiseReduction::Statistics:
[legend]

Public Member Functions

 Statistics (size_t spectrumSize, double rate, int windowTypes)
 

Public Attributes

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

Detailed Description

Definition at line 169 of file NoiseReduction.cpp.

Constructor & Destructor Documentation

◆ Statistics()

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

Definition at line 172 of file NoiseReduction.cpp.

173  : mRate{ rate }
174  , mWindowSize{ (spectrumSize - 1) * 2 }
175  , mWindowTypes{ windowTypes }
176  , mTotalWindows{ 0 }
177  , mTrackWindows{ 0 }
178  , mSums( spectrumSize )
179  , mMeans (spectrumSize )
180 #ifdef OLD_METHOD_AVAILABLE
181  , mNoiseThreshold( spectrumSize )
182 #endif
183  {}

Member Data Documentation

◆ mMeans

FloatVector EffectNoiseReduction::Statistics::mMeans

Definition at line 194 of file NoiseReduction.cpp.

◆ mRate

double EffectNoiseReduction::Statistics::mRate

Definition at line 187 of file NoiseReduction.cpp.

◆ mSums

FloatVector EffectNoiseReduction::Statistics::mSums

Definition at line 193 of file NoiseReduction.cpp.

◆ mTotalWindows

unsigned EffectNoiseReduction::Statistics::mTotalWindows

Definition at line 191 of file NoiseReduction.cpp.

◆ mTrackWindows

unsigned EffectNoiseReduction::Statistics::mTrackWindows

Definition at line 192 of file NoiseReduction.cpp.

◆ mWindowSize

size_t EffectNoiseReduction::Statistics::mWindowSize

Definition at line 188 of file NoiseReduction.cpp.

◆ mWindowTypes

int EffectNoiseReduction::Statistics::mWindowTypes

Definition at line 189 of file NoiseReduction.cpp.


The documentation for this class was generated from the following file:
EffectNoiseReduction::Statistics::mWindowTypes
int mWindowTypes
Definition: NoiseReduction.cpp:189
EffectNoiseReduction::Statistics::mTotalWindows
unsigned mTotalWindows
Definition: NoiseReduction.cpp:191
EffectNoiseReduction::Statistics::mTrackWindows
unsigned mTrackWindows
Definition: NoiseReduction.cpp:192
EffectNoiseReduction::Statistics::mMeans
FloatVector mMeans
Definition: NoiseReduction.cpp:194
EffectNoiseReduction::Statistics::mSums
FloatVector mSums
Definition: NoiseReduction.cpp:193
EffectNoiseReduction::Statistics::mRate
double mRate
Definition: NoiseReduction.cpp:187
EffectNoiseReduction::Statistics::mWindowSize
size_t mWindowSize
Definition: NoiseReduction.cpp:188