Audacity 3.2.0
Public Member Functions | Public Attributes | List of all members
NoiseReductionBase::Statistics Class Reference
Collaboration diagram for NoiseReductionBase::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 141 of file NoiseReductionBase.cpp.

Constructor & Destructor Documentation

◆ Statistics()

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

Definition at line 144 of file NoiseReductionBase.cpp.

145 : mRate { rate }
146 , mWindowSize { (spectrumSize - 1) * 2 }
147 , mWindowTypes { windowTypes }
148 , mTotalWindows { 0 }
149 , mTrackWindows { 0 }
150 , mSums(spectrumSize)
151 , mMeans(spectrumSize)
152#ifdef OLD_METHOD_AVAILABLE
153 , mNoiseThreshold(spectrumSize)
154#endif
155 {
156 }

Member Data Documentation

◆ mMeans

FloatVector NoiseReductionBase::Statistics::mMeans

Definition at line 167 of file NoiseReductionBase.cpp.

◆ mRate

double NoiseReductionBase::Statistics::mRate

Definition at line 160 of file NoiseReductionBase.cpp.

Referenced by NoiseReductionBase::Worker::Worker().

◆ mSums

FloatVector NoiseReductionBase::Statistics::mSums

Definition at line 166 of file NoiseReductionBase.cpp.

◆ mTotalWindows

unsigned NoiseReductionBase::Statistics::mTotalWindows

Definition at line 164 of file NoiseReductionBase.cpp.

◆ mTrackWindows

unsigned NoiseReductionBase::Statistics::mTrackWindows

Definition at line 165 of file NoiseReductionBase.cpp.

◆ mWindowSize

size_t NoiseReductionBase::Statistics::mWindowSize

Definition at line 161 of file NoiseReductionBase.cpp.

◆ mWindowTypes

int NoiseReductionBase::Statistics::mWindowTypes

Definition at line 162 of file NoiseReductionBase.cpp.


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