Audacity 3.2.0
|
SpecPowerCalculation is a simple spectral power level meter. More...
#include <SpecPowerMeter.h>
Public Member Functions | |
SpecPowerCalculation (size_t sigLen) | |
~SpecPowerCalculation () | |
float | CalcPower (float *sig, float fc, float bw) |
Private Member Functions | |
float | CalcBinPower (float *sig_f_r, float *sig_f_i, int loBin, int hiBin) |
int | Freq2Bin (float fc) |
Private Attributes | |
const size_t | mSigLen |
Floats | mSigI |
Floats | mSigFR |
Floats | mSigFI |
SpecPowerCalculation is a simple spectral power level meter.
SpecPowerCalculation operates in the Fourier domain and allows power level measurements in subbands or in the entire signal band.
Definition at line 17 of file SpecPowerMeter.h.
SpecPowerCalculation::SpecPowerCalculation | ( | size_t | sigLen | ) |
Definition at line 27 of file SpecPowerMeter.cpp.
SpecPowerCalculation::~SpecPowerCalculation | ( | ) |
Definition at line 35 of file SpecPowerMeter.cpp.
|
private |
Definition at line 61 of file SpecPowerMeter.cpp.
Referenced by CalcPower().
float SpecPowerCalculation::CalcPower | ( | float * | sig, |
float | fc, | ||
float | bw | ||
) |
Definition at line 39 of file SpecPowerMeter.cpp.
References CalcBinPower(), FFT(), Freq2Bin(), mSigFI, mSigFR, mSigI, and mSigLen.
Referenced by FormatClassifier::Run().
|
private |
Definition at line 73 of file SpecPowerMeter.cpp.
References mSigLen.
Referenced by CalcPower().
|
private |
Definition at line 23 of file SpecPowerMeter.h.
Referenced by CalcPower().
|
private |
Definition at line 22 of file SpecPowerMeter.h.
Referenced by CalcPower().
|
private |
Definition at line 21 of file SpecPowerMeter.h.
Referenced by CalcPower().
|
private |
Definition at line 19 of file SpecPowerMeter.h.
Referenced by CalcPower(), and Freq2Bin().