#include <SMSSynthesisConfig.hxx>
Definition at line 33 of file 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 () |
Friends | |
class | SMSSynthesis |
CLAM::SMSSynthesisConfig::DYNAMIC_TYPE_USING_INTERFACE | ( | SMSSynthesisConfig | , | |
7 | , | |||
ProcessingConfig | ||||
) |
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 | ||||
) |
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.
TSize CLAM::SMSSynthesisConfig::GetAnalWindowSize | ( | ) | const |
Definition at line 83 of file SMSSynthesisConfig.cxx.
void CLAM::SMSSynthesisConfig::SetAnalWindowType | ( | const EWindowType & | t | ) |
const EWindowType & CLAM::SMSSynthesisConfig::GetAnalWindowType | ( | ) | const |
Definition at line 94 of file SMSSynthesisConfig.cxx.
void CLAM::SMSSynthesisConfig::SetSynthWindowSize | ( | TSize | w | ) |
Synthesis window size.
Definition at line 100 of file SMSSynthesisConfig.cxx.
References CLAM_ASSERT.
TSize CLAM::SMSSynthesisConfig::GetSynthWindowSize | ( | ) | const |
Definition at line 106 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.
TSize CLAM::SMSSynthesisConfig::GetHopSize | ( | ) | const |
Definition at line 132 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.
TData CLAM::SMSSynthesisConfig::GetSamplingRate | ( | ) | const |
Definition at line 145 of file SMSSynthesisConfig.cxx.
Referenced by CLAM::SinusoidalSynthesis::Do().
void CLAM::SMSSynthesisConfig::SetSpectrumSize | ( | TSize | specSize | ) |
TSize CLAM::SMSSynthesisConfig::GetSpectrumSize | ( | ) | const |
Definition at line 66 of file SMSSynthesisConfig.cxx.
Referenced by CLAM::SMSSynthesis::Do(), and CLAM::SinusoidalSynthesis::Do().
void CLAM::SMSSynthesisConfig::SetFrameSize | ( | TSize | f | ) |
TSize CLAM::SMSSynthesisConfig::GetFrameSize | ( | ) |
Definition at line 126 of file SMSSynthesisConfig.cxx.
Referenced by CLAM::SMSSynthesis::InitFrame(), and CLAM::SinusoidalSynthesis::InitFrame().
friend class SMSSynthesis [friend] |
Definition at line 36 of file SMSSynthesisConfig.hxx.