#include <SMSAnalysisConfig.hxx>
Public Member Functions | |
SMSAnalysisConfig () | |
SMSAnalysisConfig (const SMSAnalysisConfig &prototype, const bool shareData=false, const bool deep=true) | |
__COMMON_DYNAMIC_TYPE (SMSAnalysisConfig, 8) | |
__COMMON_DYN_ATTRIBUTE (0, public, SpectralAnalysisConfig, SinSpectralAnalysis) protected | |
Configuration for children Processing Objects. | |
bool | LoadSinSpectralAnalysis (CLAM::Storage &s) |
__COMMON_DYN_ATTRIBUTE (1, public, SpectralAnalysisConfig, ResSpectralAnalysis) protected | |
bool | LoadResSpectralAnalysis (CLAM::Storage &s) |
__COMMON_DYN_ATTRIBUTE (2, public, SpectralPeakDetectConfig, PeakDetect) protected | |
bool | LoadPeakDetect (CLAM::Storage &s) |
__COMMON_DYN_ATTRIBUTE (3, public, FundFreqDetectConfig, FundFreqDetect) protected | |
bool | LoadFundFreqDetect (CLAM::Storage &s) |
__COMMON_DYN_ATTRIBUTE (4, public, SinTrackingConfig, SinTracking) protected | |
bool | LoadSinTracking (CLAM::Storage &s) |
__COMMON_DYN_ATTRIBUTE (5, protected, int, prSamplingRate) protected | |
Flags that are used in order to decide what debug display is shown. | |
bool | LoadprSamplingRate (CLAM::Storage &s) |
void | SetSinWindowSize (TSize w) |
Sinusoidal Analysis Window size in num. | |
TSize | GetSinWindowSize () const |
void | SetSinWindowType (const EWindowType &t) |
Sinusoidal Analysis Window type. | |
const EWindowType & | GetSinWindowType () const |
void | SetSinZeroPadding (int z) |
Sinusoidal Zero padding factor. | |
int | GetSinZeroPadding () const |
void | SetResWindowSize (TSize w) |
Residual Analysis Window size in num. | |
TSize | GetResWindowSize () const |
void | SetResWindowType (const EWindowType &t) |
Residual Analysis Window type. | |
const EWindowType & | GetResWindowType () const |
void | SetResZeroPadding (int z) |
Residual Zero padding factor. | |
int | GetResZeroPadding () const |
void | SetHopSize (TSize h) |
Global hop size used both for sinusoidal and residual components. | |
TSize | GetHopSize () const |
void | SetSamplingRate (TData sr) |
Sampling rate of the input audio. | |
TData | GetSamplingRate () const |
TSize | GetInitialOffset () const |
Initial offset that is applied to analysis frame computed from windowSize and hopSize. | |
TSize | GetHopsInBiggerWindow () const |
Protected Member Functions | |
__COMMON_DYN_ATTRIBUTE (6, protected, int, prFFTSize) protected | |
bool | LoadprFFTSize (CLAM::Storage &s) |
__COMMON_DYN_ATTRIBUTE (7, public, SynthSineSpectrumConfig, SynthSineSpectrum) protected | |
bool | LoadSynthSineSpectrum (CLAM::Storage &s) |
Friends | |
class | SMSAnalysis |
Definition at line 37 of file SMSAnalysisConfig.hxx.
CLAM::SMSAnalysisConfig::SMSAnalysisConfig | ( | ) | [inline] |
Definition at line 42 of file SMSAnalysisConfig.hxx.
CLAM::SMSAnalysisConfig::SMSAnalysisConfig | ( | const SMSAnalysisConfig & | prototype, | |
const bool | shareData = false , |
|||
const bool | deep = true | |||
) | [inline] |
Definition at line 42 of file SMSAnalysisConfig.hxx.
CLAM::SMSAnalysisConfig::__COMMON_DYN_ATTRIBUTE | ( | 7 | , | |
public | , | |||
SynthSineSpectrumConfig | , | |||
SynthSineSpectrum | ||||
) | [inline, protected] |
Definition at line 54 of file SMSAnalysisConfig.hxx.
CLAM::SMSAnalysisConfig::__COMMON_DYN_ATTRIBUTE | ( | 6 | , | |
protected | , | |||
int | , | |||
prFFTSize | ||||
) | [inline, protected] |
Definition at line 53 of file SMSAnalysisConfig.hxx.
CLAM::SMSAnalysisConfig::__COMMON_DYN_ATTRIBUTE | ( | 5 | , | |
protected | , | |||
int | , | |||
prSamplingRate | ||||
) | [inline] |
Flags that are used in order to decide what debug display is shown.
Definition at line 52 of file SMSAnalysisConfig.hxx.
CLAM::SMSAnalysisConfig::__COMMON_DYN_ATTRIBUTE | ( | 4 | , | |
public | , | |||
SinTrackingConfig | , | |||
SinTracking | ||||
) | [inline] |
Definition at line 49 of file SMSAnalysisConfig.hxx.
CLAM::SMSAnalysisConfig::__COMMON_DYN_ATTRIBUTE | ( | 3 | , | |
public | , | |||
FundFreqDetectConfig | , | |||
FundFreqDetect | ||||
) | [inline] |
Definition at line 48 of file SMSAnalysisConfig.hxx.
CLAM::SMSAnalysisConfig::__COMMON_DYN_ATTRIBUTE | ( | 2 | , | |
public | , | |||
SpectralPeakDetectConfig | , | |||
PeakDetect | ||||
) | [inline] |
Definition at line 47 of file SMSAnalysisConfig.hxx.
CLAM::SMSAnalysisConfig::__COMMON_DYN_ATTRIBUTE | ( | 1 | , | |
public | , | |||
SpectralAnalysisConfig | , | |||
ResSpectralAnalysis | ||||
) | [inline] |
Definition at line 45 of file SMSAnalysisConfig.hxx.
CLAM::SMSAnalysisConfig::__COMMON_DYN_ATTRIBUTE | ( | 0 | , | |
public | , | |||
SpectralAnalysisConfig | , | |||
SinSpectralAnalysis | ||||
) | [inline] |
Configuration for children Processing Objects.
Definition at line 44 of file SMSAnalysisConfig.hxx.
CLAM::SMSAnalysisConfig::__COMMON_DYNAMIC_TYPE | ( | SMSAnalysisConfig | , | |
8 | ||||
) |
TSize CLAM::SMSAnalysisConfig::GetHopsInBiggerWindow | ( | ) | const |
Definition at line 169 of file SMSAnalysisConfig.cxx.
References GetHopSize(), GetResWindowSize(), and GetSinWindowSize().
TSize CLAM::SMSAnalysisConfig::GetHopSize | ( | ) | const |
Definition at line 91 of file SMSAnalysisConfig.cxx.
Referenced by GetHopsInBiggerWindow(), and GetInitialOffset().
TSize CLAM::SMSAnalysisConfig::GetInitialOffset | ( | ) | const |
Initial offset that is applied to analysis frame computed from windowSize and hopSize.
Definition at line 160 of file SMSAnalysisConfig.cxx.
References GetHopSize(), GetResWindowSize(), and GetSinWindowSize().
TSize CLAM::SMSAnalysisConfig::GetResWindowSize | ( | ) | const |
Definition at line 104 of file SMSAnalysisConfig.cxx.
Referenced by GetHopsInBiggerWindow(), and GetInitialOffset().
const EWindowType & CLAM::SMSAnalysisConfig::GetResWindowType | ( | ) | const |
Definition at line 115 of file SMSAnalysisConfig.cxx.
int CLAM::SMSAnalysisConfig::GetResZeroPadding | ( | ) | const |
Definition at line 126 of file SMSAnalysisConfig.cxx.
TData CLAM::SMSAnalysisConfig::GetSamplingRate | ( | ) | const |
Definition at line 140 of file SMSAnalysisConfig.cxx.
TSize CLAM::SMSAnalysisConfig::GetSinWindowSize | ( | ) | const |
Definition at line 58 of file SMSAnalysisConfig.cxx.
Referenced by GetHopsInBiggerWindow(), and GetInitialOffset().
const EWindowType & CLAM::SMSAnalysisConfig::GetSinWindowType | ( | ) | const |
Definition at line 69 of file SMSAnalysisConfig.cxx.
int CLAM::SMSAnalysisConfig::GetSinZeroPadding | ( | ) | const |
Definition at line 80 of file SMSAnalysisConfig.cxx.
bool CLAM::SMSAnalysisConfig::LoadFundFreqDetect | ( | CLAM::Storage & | s | ) | [inline] |
Definition at line 48 of file SMSAnalysisConfig.hxx.
bool CLAM::SMSAnalysisConfig::LoadPeakDetect | ( | CLAM::Storage & | s | ) | [inline] |
Definition at line 47 of file SMSAnalysisConfig.hxx.
bool CLAM::SMSAnalysisConfig::LoadprFFTSize | ( | CLAM::Storage & | s | ) | [inline, protected] |
Definition at line 53 of file SMSAnalysisConfig.hxx.
bool CLAM::SMSAnalysisConfig::LoadprSamplingRate | ( | CLAM::Storage & | s | ) | [inline] |
Definition at line 52 of file SMSAnalysisConfig.hxx.
bool CLAM::SMSAnalysisConfig::LoadResSpectralAnalysis | ( | CLAM::Storage & | s | ) | [inline] |
Definition at line 45 of file SMSAnalysisConfig.hxx.
bool CLAM::SMSAnalysisConfig::LoadSinSpectralAnalysis | ( | CLAM::Storage & | s | ) | [inline] |
Definition at line 44 of file SMSAnalysisConfig.hxx.
bool CLAM::SMSAnalysisConfig::LoadSinTracking | ( | CLAM::Storage & | s | ) | [inline] |
Definition at line 49 of file SMSAnalysisConfig.hxx.
bool CLAM::SMSAnalysisConfig::LoadSynthSineSpectrum | ( | CLAM::Storage & | s | ) | [inline, protected] |
Definition at line 54 of file SMSAnalysisConfig.hxx.
void CLAM::SMSAnalysisConfig::SetHopSize | ( | TSize | h | ) |
Global hop size used both for sinusoidal and residual components.
Definition at line 85 of file SMSAnalysisConfig.cxx.
void CLAM::SMSAnalysisConfig::SetResWindowSize | ( | TSize | w | ) |
Residual Analysis Window size in num.
of samples
Definition at line 98 of file SMSAnalysisConfig.cxx.
void CLAM::SMSAnalysisConfig::SetResWindowType | ( | const EWindowType & | t | ) |
Residual Analysis Window type.
Analysis Window type.
Definition at line 110 of file SMSAnalysisConfig.cxx.
void CLAM::SMSAnalysisConfig::SetResZeroPadding | ( | int | z | ) |
Residual Zero padding factor.
Zero padding factor.
Definition at line 121 of file SMSAnalysisConfig.cxx.
void CLAM::SMSAnalysisConfig::SetSamplingRate | ( | TData | sr | ) |
Sampling rate of the input audio.
Definition at line 132 of file SMSAnalysisConfig.cxx.
void CLAM::SMSAnalysisConfig::SetSinWindowSize | ( | TSize | w | ) |
Sinusoidal Analysis Window size in num.
of samples
Definition at line 53 of file SMSAnalysisConfig.cxx.
void CLAM::SMSAnalysisConfig::SetSinWindowType | ( | const EWindowType & | t | ) |
Sinusoidal Analysis Window type.
Analysis Window type.
Definition at line 64 of file SMSAnalysisConfig.cxx.
void CLAM::SMSAnalysisConfig::SetSinZeroPadding | ( | int | z | ) |
Sinusoidal Zero padding factor.
Zero padding factor.
Definition at line 75 of file SMSAnalysisConfig.cxx.
friend class SMSAnalysis [friend] |
Definition at line 40 of file SMSAnalysisConfig.hxx.