CLAM-Development
1.4.0
|
#include <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 |
![]() | |
ProcessingConfig (const int n) | |
Constructor. | |
ProcessingConfig (const ProcessingConfig &prototype, bool shareData=false, bool deep=true) | |
Copy constructor. | |
virtual | ~ProcessingConfig () |
virtual const char * | GetClassName () const |
Return the class name. | |
![]() | |
DynamicType (const int nAttr) | |
Constructs a DynamicType object that can hold. | |
DynamicType (const DynamicType &prototype, const bool shareData, const bool deepCopy) | |
Copy constructor of a dynamic Type. | |
DynamicType (const DynamicType &prototype) | |
virtual | ~DynamicType () |
void | CopyInit (const DynamicType &dt) |
This method allows custom code for the copy-constructor of a dynamic type, since the copy-constructor is macro expanded and can not be overwritted. | |
bool | UpdateData () |
Method used to resize the data space of the dynamic type, necessary when some AddXXX() / RemoveXXX() (where XXX is an attribute name) has been done. | |
unsigned | GetNDynamicAttributes () const |
const char * | GetDynamicAttributeName (unsigned i) |
virtual const std::type_info & | GetTypeId (unsigned i) const =0 |
bool | AttributeIsComponent (unsigned i) const |
bool | AttributeIsDynamictype (unsigned i) const |
bool | IsAttributeInstantiated (unsigned i) const |
const void * | GetAttributeAsVoidPtr (unsigned i) const |
const Component * | GetAttributeAsComponent (unsigned i) const |
Component * | GetAttributeAsComponent (unsigned i) |
void | FullfilsInvariant () const |
virtual Component * | DeepCopy () const |
void | Debug () const |
virtual void | StoreOn (CLAM::Storage &storage) const |
Stores component's subitems on the given Storage. | |
virtual void | LoadFrom (CLAM::Storage &storage) |
Loads component's subitems from the given Storage. | |
![]() | |
virtual | ~Component () |
Friends | |
class | SMSAnalysis |
Definition at line 37 of file SMSAnalysisConfig.hxx.
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 CLAM::SMSAnalysis::Do(), 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.
Referenced by CLAM::SMSAnalysis::Do().
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.
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 |
Definition at line 40 of file SMSAnalysisConfig.hxx.