|
CLAM-Development
1.4.0
|
#include <SMSSynthesisConfig.hxx>
Public Member Functions | |
| DYNAMIC_TYPE_USING_INTERFACE (SMSSynthesisConfig, 7, ProcessingConfig) | |
| DYN_ATTRIBUTE (0, public, SynthSineSpectrumConfig, SynthSineSpectrum) | |
| Configuration for children Processing Objects. | |
| DYN_ATTRIBUTE (1, public, PhaseManagementConfig, PhaseMan) | |
| DYN_ATTRIBUTE (2, public, SpectralSynthesisConfig, SpectralSynth) | |
| DYN_ATTRIBUTE (3, public, OverlapAddConfig, OverlapAddSin) | |
| DYN_ATTRIBUTE (4, public, OverlapAddConfig, OverlapAddRes) | |
| DYN_ATTRIBUTE (5, public, OverlapAddConfig, OverlapAddGlobal) | |
| DYN_ATTRIBUTE (6, protected, int, prSamplingRate) | |
| void | SetAnalWindowSize (TSize w) |
| Analysis Window size in miliseconds. | |
| TSize | GetAnalWindowSize () const |
| void | SetAnalWindowType (const EWindowType &t) |
| Analysis Window type. | |
| const EWindowType & | GetAnalWindowType () const |
| void | SetSynthWindowSize (TSize w) |
| Synthesis window size. | |
| TSize | GetSynthWindowSize () const |
| void | SetHopSize (TSize h) |
| Synthesis Hop size in miliseconds. | |
| TSize | GetHopSize () const |
| void | SetSamplingRate (TData sr) |
| Sampling rate of the output audio. | |
| TData | GetSamplingRate () const |
| void | SetSpectrumSize (TSize specSize) |
| Spectrum Size. | |
| TSize | GetSpectrumSize () const |
| void | SetFrameSize (TSize f) |
| Frame Size. | |
| TSize | GetFrameSize () |
Public Member Functions inherited from CLAM::ProcessingConfig | |
| 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. | |
Public Member Functions inherited from CLAM::DynamicType | |
| 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. | |
Public Member Functions inherited from CLAM::Component | |
| virtual | ~Component () |
Friends | |
| class | SMSSynthesis |
Definition at line 33 of file SMSSynthesisConfig.hxx.
| CLAM::SMSSynthesisConfig::DYN_ATTRIBUTE | ( | 0 | , |
| public | , | ||
| SynthSineSpectrumConfig | , | ||
| SynthSineSpectrum | |||
| ) |
Configuration for children Processing Objects.
| CLAM::SMSSynthesisConfig::DYN_ATTRIBUTE | ( | 1 | , |
| public | , | ||
| PhaseManagementConfig | , | ||
| PhaseMan | |||
| ) |
| CLAM::SMSSynthesisConfig::DYN_ATTRIBUTE | ( | 2 | , |
| public | , | ||
| SpectralSynthesisConfig | , | ||
| SpectralSynth | |||
| ) |
| CLAM::SMSSynthesisConfig::DYN_ATTRIBUTE | ( | 3 | , |
| public | , | ||
| OverlapAddConfig | , | ||
| OverlapAddSin | |||
| ) |
| CLAM::SMSSynthesisConfig::DYN_ATTRIBUTE | ( | 4 | , |
| public | , | ||
| OverlapAddConfig | , | ||
| OverlapAddRes | |||
| ) |
| CLAM::SMSSynthesisConfig::DYN_ATTRIBUTE | ( | 5 | , |
| public | , | ||
| OverlapAddConfig | , | ||
| OverlapAddGlobal | |||
| ) |
| CLAM::SMSSynthesisConfig::DYN_ATTRIBUTE | ( | 6 | , |
| protected | , | ||
| int | , | ||
| prSamplingRate | |||
| ) |
| CLAM::SMSSynthesisConfig::DYNAMIC_TYPE_USING_INTERFACE | ( | SMSSynthesisConfig | , |
| 7 | , | ||
| ProcessingConfig | |||
| ) |
| TSize CLAM::SMSSynthesisConfig::GetAnalWindowSize | ( | ) | const |
Definition at line 83 of file SMSSynthesisConfig.cxx.
| const EWindowType & CLAM::SMSSynthesisConfig::GetAnalWindowType | ( | ) | const |
Definition at line 94 of file SMSSynthesisConfig.cxx.
| TSize CLAM::SMSSynthesisConfig::GetFrameSize | ( | ) |
Definition at line 126 of file SMSSynthesisConfig.cxx.
Referenced by CLAM::SinusoidalSynthesis::InitFrame(), and CLAM::SMSSynthesis::InitFrame().
| TSize CLAM::SMSSynthesisConfig::GetHopSize | ( | ) | const |
Definition at line 132 of file SMSSynthesisConfig.cxx.
| TData CLAM::SMSSynthesisConfig::GetSamplingRate | ( | ) | const |
Definition at line 145 of file SMSSynthesisConfig.cxx.
Referenced by CLAM::SinusoidalSynthesis::Do().
| TSize CLAM::SMSSynthesisConfig::GetSpectrumSize | ( | ) | const |
Definition at line 66 of file SMSSynthesisConfig.cxx.
Referenced by CLAM::SinusoidalSynthesis::Do(), and CLAM::SMSSynthesis::Do().
| TSize CLAM::SMSSynthesisConfig::GetSynthWindowSize | ( | ) | const |
Definition at line 106 of file SMSSynthesisConfig.cxx.
| void CLAM::SMSSynthesisConfig::SetAnalWindowSize | ( | TSize | w | ) |
Analysis Window size in miliseconds.
Synthesis Window size in miliseconds.
In num. of samples WindowSize/SR is forced to be odd
Definition at line 72 of file SMSSynthesisConfig.cxx.
References CLAM_ASSERT.
| void CLAM::SMSSynthesisConfig::SetAnalWindowType | ( | const EWindowType & | t | ) |
Analysis Window type.
Definition at line 89 of file SMSSynthesisConfig.cxx.
| void CLAM::SMSSynthesisConfig::SetFrameSize | ( | TSize | f | ) |
Frame Size.
Definition at line 119 of file SMSSynthesisConfig.cxx.
| void CLAM::SMSSynthesisConfig::SetHopSize | ( | TSize | h | ) |
Synthesis Hop size in miliseconds.
Must be < (WindowSize-(1/SR))/2
Definition at line 112 of file SMSSynthesisConfig.cxx.
| void CLAM::SMSSynthesisConfig::SetSamplingRate | ( | TData | sr | ) |
Sampling rate of the output audio.
Sampling rate of the input audio.
Definition at line 138 of file SMSSynthesisConfig.cxx.
| void CLAM::SMSSynthesisConfig::SetSpectrumSize | ( | TSize | specSize | ) |
Spectrum Size.
Definition at line 61 of file SMSSynthesisConfig.cxx.
| void CLAM::SMSSynthesisConfig::SetSynthWindowSize | ( | TSize | w | ) |
Synthesis window size.
Definition at line 100 of file SMSSynthesisConfig.cxx.
References CLAM_ASSERT.
|
friend |
Definition at line 36 of file SMSSynthesisConfig.hxx.
1.8.1