#include <SMSAnalysisConfig.hxx>
Definition at line 37 of file SMSAnalysisConfig.hxx.
Public Member Functions | |
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 |
Friends | |
class | SMSAnalysis |
void CLAM::SMSAnalysisConfig::SetSinWindowSize | ( | TSize | w | ) |
Sinusoidal Analysis Window size in num.
of samples
Definition at line 53 of file SMSAnalysisConfig.cxx.
TSize CLAM::SMSAnalysisConfig::GetSinWindowSize | ( | ) | const |
Definition at line 58 of file SMSAnalysisConfig.cxx.
Referenced by GetHopsInBiggerWindow(), and GetInitialOffset().
void CLAM::SMSAnalysisConfig::SetSinWindowType | ( | const EWindowType & | t | ) |
Sinusoidal Analysis Window type.
Analysis Window type.
Definition at line 64 of file SMSAnalysisConfig.cxx.
const EWindowType & CLAM::SMSAnalysisConfig::GetSinWindowType | ( | ) | const |
Definition at line 69 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.
int CLAM::SMSAnalysisConfig::GetSinZeroPadding | ( | ) | const |
Definition at line 80 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.
TSize CLAM::SMSAnalysisConfig::GetResWindowSize | ( | ) | const |
Definition at line 104 of file SMSAnalysisConfig.cxx.
Referenced by GetHopsInBiggerWindow(), and GetInitialOffset().
void CLAM::SMSAnalysisConfig::SetResWindowType | ( | const EWindowType & | t | ) |
Residual Analysis Window type.
Analysis Window type.
Definition at line 110 of file SMSAnalysisConfig.cxx.
const EWindowType & CLAM::SMSAnalysisConfig::GetResWindowType | ( | ) | const |
Definition at line 115 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.
int CLAM::SMSAnalysisConfig::GetResZeroPadding | ( | ) | const |
Definition at line 126 of file SMSAnalysisConfig.cxx.
void CLAM::SMSAnalysisConfig::SetHopSize | ( | TSize | h | ) |
Global hop size used both for sinusoidal and residual components.
Definition at line 85 of file SMSAnalysisConfig.cxx.
TSize CLAM::SMSAnalysisConfig::GetHopSize | ( | ) | const |
Definition at line 91 of file SMSAnalysisConfig.cxx.
Referenced by CLAM::SMSAnalysis::Do(), GetHopsInBiggerWindow(), and GetInitialOffset().
void CLAM::SMSAnalysisConfig::SetSamplingRate | ( | TData | sr | ) |
TData CLAM::SMSAnalysisConfig::GetSamplingRate | ( | ) | const |
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::GetHopsInBiggerWindow | ( | ) | const |
Definition at line 169 of file SMSAnalysisConfig.cxx.
References GetHopSize(), GetResWindowSize(), and GetSinWindowSize().
friend class SMSAnalysis [friend] |
Definition at line 40 of file SMSAnalysisConfig.hxx.