#include <SegmentSMSMorphConfig.hxx>
Public Member Functions | |
SegmentSMSMorphConfig () | |
SegmentSMSMorphConfig (const SegmentSMSMorphConfig &prototype, const bool shareData=false, const bool deep=true) | |
__COMMON_DYNAMIC_TYPE (SegmentSMSMorphConfig, 16) | |
__COMMON_DYN_ATTRIBUTE (0, public, std::string, FileName) protected | |
FileName where pre-analyzed sound to morph is to be found. | |
bool | LoadFileName (CLAM::Storage &s) |
__COMMON_DYN_ATTRIBUTE (1, public, BPF, HybBPF) protected | |
BPF (envelope-like) Parameter. | |
bool | LoadHybBPF (CLAM::Storage &s) |
__COMMON_DYN_ATTRIBUTE (2, public, bool, InterpolateFrame) protected | |
boolean Parameter. | |
bool | LoadInterpolateFrame (CLAM::Storage &s) |
__COMMON_DYN_ATTRIBUTE (3, public, BPF, SynchronizeTime) protected | |
BPF (envelope-like) Parameter. | |
bool | LoadSynchronizeTime (CLAM::Storage &s) |
__COMMON_DYN_ATTRIBUTE (4, public, BPF, HybSinAmp) protected | |
BPF (envelope-like) Parameter. | |
bool | LoadHybSinAmp (CLAM::Storage &s) |
__COMMON_DYN_ATTRIBUTE (5, public, BPF, HybSinSpectralShape) protected | |
BPF (envelope-like) Parameter. | |
bool | LoadHybSinSpectralShape (CLAM::Storage &s) |
__COMMON_DYN_ATTRIBUTE (6, public, BPF, HybSinShapeW1) protected | |
BPF (envelope-like) Parameter. | |
bool | LoadHybSinShapeW1 (CLAM::Storage &s) |
__COMMON_DYN_ATTRIBUTE (7, public, BPF, HybSinShapeW2) protected | |
BPF (envelope-like) Parameter. | |
bool | LoadHybSinShapeW2 (CLAM::Storage &s) |
__COMMON_DYN_ATTRIBUTE (8, public, BPF, HybPitch) protected | |
BPF (envelope-like) Parameter. | |
bool | LoadHybPitch (CLAM::Storage &s) |
__COMMON_DYN_ATTRIBUTE (9, public, BPF, HybSinFreq) protected | |
BPF (envelope-like) Parameter. | |
bool | LoadHybSinFreq (CLAM::Storage &s) |
__COMMON_DYN_ATTRIBUTE (10, public, BPF, HybResAmp) protected | |
BPF (envelope-like) Parameter. | |
bool | LoadHybResAmp (CLAM::Storage &s) |
__COMMON_DYN_ATTRIBUTE (11, public, BPF, HybResSpectralShape) protected | |
BPF (envelope-like) Parameter. | |
bool | LoadHybResSpectralShape (CLAM::Storage &s) |
__COMMON_DYN_ATTRIBUTE (12, public, BPF, HybResShapeW1) protected | |
BPF (envelope-like) Parameter. | |
bool | LoadHybResShapeW1 (CLAM::Storage &s) |
__COMMON_DYN_ATTRIBUTE (13, public, BPF, HybResShapeW2) protected | |
bool | LoadHybResShapeW2 (CLAM::Storage &s) |
__COMMON_DYN_ATTRIBUTE (14, public, bool, UseSpectralShapes) protected | |
Whether to use spectral Shapes or not. | |
bool | LoadUseSpectralShapes (CLAM::Storage &s) |
__COMMON_DYN_ATTRIBUTE (15, public, TData, SamplingRate) protected | |
Sampling rate of the input audios. | |
bool | LoadSamplingRate (CLAM::Storage &s) |
Protected Member Functions | |
void | DefaultInit () |
The concrete dynamic type constructor calls DefaultInit(). | |
void | DefaultValues () |
Definition at line 30 of file SegmentSMSMorphConfig.hxx.
CLAM::SegmentSMSMorphConfig::SegmentSMSMorphConfig | ( | ) | [inline] |
Definition at line 33 of file SegmentSMSMorphConfig.hxx.
CLAM::SegmentSMSMorphConfig::SegmentSMSMorphConfig | ( | const SegmentSMSMorphConfig & | prototype, | |
const bool | shareData = false , |
|||
const bool | deep = true | |||
) | [inline] |
Definition at line 33 of file SegmentSMSMorphConfig.hxx.
CLAM::SegmentSMSMorphConfig::__COMMON_DYN_ATTRIBUTE | ( | 15 | , | |
public | , | |||
TData | , | |||
SamplingRate | ||||
) | [inline] |
Sampling rate of the input audios.
WARNING: It must be the same for both audios!
Definition at line 69 of file SegmentSMSMorphConfig.hxx.
CLAM::SegmentSMSMorphConfig::__COMMON_DYN_ATTRIBUTE | ( | 14 | , | |
public | , | |||
bool | , | |||
UseSpectralShapes | ||||
) | [inline] |
Whether to use spectral Shapes or not.
Definition at line 67 of file SegmentSMSMorphConfig.hxx.
CLAM::SegmentSMSMorphConfig::__COMMON_DYN_ATTRIBUTE | ( | 13 | , | |
public | , | |||
BPF | , | |||
HybResShapeW2 | ||||
) | [inline] |
Definition at line 65 of file SegmentSMSMorphConfig.hxx.
CLAM::SegmentSMSMorphConfig::__COMMON_DYN_ATTRIBUTE | ( | 12 | , | |
public | , | |||
BPF | , | |||
HybResShapeW1 | ||||
) | [inline] |
BPF (envelope-like) Parameter.
Weight for Residual Spectral Shape
Definition at line 64 of file SegmentSMSMorphConfig.hxx.
CLAM::SegmentSMSMorphConfig::__COMMON_DYN_ATTRIBUTE | ( | 11 | , | |
public | , | |||
BPF | , | |||
HybResSpectralShape | ||||
) | [inline] |
BPF (envelope-like) Parameter.
Hybridize Residual Spectral Shape
Definition at line 62 of file SegmentSMSMorphConfig.hxx.
CLAM::SegmentSMSMorphConfig::__COMMON_DYN_ATTRIBUTE | ( | 10 | , | |
public | , | |||
BPF | , | |||
HybResAmp | ||||
) | [inline] |
BPF (envelope-like) Parameter.
Hybridize Residual Frequency
Definition at line 60 of file SegmentSMSMorphConfig.hxx.
CLAM::SegmentSMSMorphConfig::__COMMON_DYN_ATTRIBUTE | ( | 9 | , | |
public | , | |||
BPF | , | |||
HybSinFreq | ||||
) | [inline] |
BPF (envelope-like) Parameter.
Hybridize Sinusoidal Frequency
Definition at line 58 of file SegmentSMSMorphConfig.hxx.
CLAM::SegmentSMSMorphConfig::__COMMON_DYN_ATTRIBUTE | ( | 8 | , | |
public | , | |||
BPF | , | |||
HybPitch | ||||
) | [inline] |
BPF (envelope-like) Parameter.
Pitch to use: 0 input, 1 sound to hybridize
Definition at line 56 of file SegmentSMSMorphConfig.hxx.
CLAM::SegmentSMSMorphConfig::__COMMON_DYN_ATTRIBUTE | ( | 7 | , | |
public | , | |||
BPF | , | |||
HybSinShapeW2 | ||||
) | [inline] |
BPF (envelope-like) Parameter.
Weight given to sound to hybridize spectral shape in relation to input sound spectral shape
Definition at line 54 of file SegmentSMSMorphConfig.hxx.
CLAM::SegmentSMSMorphConfig::__COMMON_DYN_ATTRIBUTE | ( | 6 | , | |
public | , | |||
BPF | , | |||
HybSinShapeW1 | ||||
) | [inline] |
BPF (envelope-like) Parameter.
Weight given to input spectral shape in relation to sound to hybridize spectral shape
Definition at line 51 of file SegmentSMSMorphConfig.hxx.
CLAM::SegmentSMSMorphConfig::__COMMON_DYN_ATTRIBUTE | ( | 5 | , | |
public | , | |||
BPF | , | |||
HybSinSpectralShape | ||||
) | [inline] |
BPF (envelope-like) Parameter.
Defines whether HybSinShapeW1 or HybSinShapeW2 should be used
Definition at line 48 of file SegmentSMSMorphConfig.hxx.
CLAM::SegmentSMSMorphConfig::__COMMON_DYN_ATTRIBUTE | ( | 4 | , | |
public | , | |||
BPF | , | |||
HybSinAmp | ||||
) | [inline] |
BPF (envelope-like) Parameter.
Amount of amplitude of sinusoids to take from input sound (0) or sound to hybridize (1)
Definition at line 46 of file SegmentSMSMorphConfig.hxx.
CLAM::SegmentSMSMorphConfig::__COMMON_DYN_ATTRIBUTE | ( | 3 | , | |
public | , | |||
BPF | , | |||
SynchronizeTime | ||||
) | [inline] |
BPF (envelope-like) Parameter.
Defines temporal relation between input sound and sound to hybridize
Definition at line 43 of file SegmentSMSMorphConfig.hxx.
CLAM::SegmentSMSMorphConfig::__COMMON_DYN_ATTRIBUTE | ( | 2 | , | |
public | , | |||
bool | , | |||
InterpolateFrame | ||||
) | [inline] |
boolean Parameter.
Defines whether intermediate frames should be interpolated from existing ones.
Definition at line 40 of file SegmentSMSMorphConfig.hxx.
CLAM::SegmentSMSMorphConfig::__COMMON_DYN_ATTRIBUTE | ( | 1 | , | |
public | , | |||
BPF | , | |||
HybBPF | ||||
) | [inline] |
BPF (envelope-like) Parameter.
Defines how much of each sound is being used from 0 to 1
Definition at line 37 of file SegmentSMSMorphConfig.hxx.
CLAM::SegmentSMSMorphConfig::__COMMON_DYN_ATTRIBUTE | ( | 0 | , | |
public | , | |||
std::string | , | |||
FileName | ||||
) | [inline] |
FileName where pre-analyzed sound to morph is to be found.
Definition at line 35 of file SegmentSMSMorphConfig.hxx.
CLAM::SegmentSMSMorphConfig::__COMMON_DYNAMIC_TYPE | ( | SegmentSMSMorphConfig | , | |
16 | ||||
) |
void CLAM::SegmentSMSMorphConfig::DefaultInit | ( | void | ) | [protected] |
The concrete dynamic type constructor calls DefaultInit().
This allows user to initialize his/her object. But we define DefaultInit() here because we don't want to force writting one DefaultInit() function for each concrete dynamic type. If a dynamic type concrete class defines some (not-default) constructors, this should also call the DefaultInit().
Reimplemented from CLAM::DynamicType.
Definition at line 26 of file SegmentSMSMorphConfig.cxx.
References DefaultValues(), and CLAM::DynamicType::UpdateData().
void CLAM::SegmentSMSMorphConfig::DefaultValues | ( | ) | [protected] |
Definition at line 34 of file SegmentSMSMorphConfig.cxx.
References CLAM::BPFTmpl< TX, TY >::Insert(), CLAM::BPFTmpl< TX, TY >::SetValue(), and CLAM::BPFTmpl< TX, TY >::SetXValue().
Referenced by DefaultInit().
bool CLAM::SegmentSMSMorphConfig::LoadFileName | ( | CLAM::Storage & | s | ) | [inline] |
Definition at line 35 of file SegmentSMSMorphConfig.hxx.
bool CLAM::SegmentSMSMorphConfig::LoadHybBPF | ( | CLAM::Storage & | s | ) | [inline] |
Definition at line 37 of file SegmentSMSMorphConfig.hxx.
bool CLAM::SegmentSMSMorphConfig::LoadHybPitch | ( | CLAM::Storage & | s | ) | [inline] |
Definition at line 56 of file SegmentSMSMorphConfig.hxx.
bool CLAM::SegmentSMSMorphConfig::LoadHybResAmp | ( | CLAM::Storage & | s | ) | [inline] |
Definition at line 60 of file SegmentSMSMorphConfig.hxx.
bool CLAM::SegmentSMSMorphConfig::LoadHybResShapeW1 | ( | CLAM::Storage & | s | ) | [inline] |
Definition at line 64 of file SegmentSMSMorphConfig.hxx.
bool CLAM::SegmentSMSMorphConfig::LoadHybResShapeW2 | ( | CLAM::Storage & | s | ) | [inline] |
Definition at line 65 of file SegmentSMSMorphConfig.hxx.
bool CLAM::SegmentSMSMorphConfig::LoadHybResSpectralShape | ( | CLAM::Storage & | s | ) | [inline] |
Definition at line 62 of file SegmentSMSMorphConfig.hxx.
bool CLAM::SegmentSMSMorphConfig::LoadHybSinAmp | ( | CLAM::Storage & | s | ) | [inline] |
Definition at line 46 of file SegmentSMSMorphConfig.hxx.
bool CLAM::SegmentSMSMorphConfig::LoadHybSinFreq | ( | CLAM::Storage & | s | ) | [inline] |
Definition at line 58 of file SegmentSMSMorphConfig.hxx.
bool CLAM::SegmentSMSMorphConfig::LoadHybSinShapeW1 | ( | CLAM::Storage & | s | ) | [inline] |
Definition at line 51 of file SegmentSMSMorphConfig.hxx.
bool CLAM::SegmentSMSMorphConfig::LoadHybSinShapeW2 | ( | CLAM::Storage & | s | ) | [inline] |
Definition at line 54 of file SegmentSMSMorphConfig.hxx.
bool CLAM::SegmentSMSMorphConfig::LoadHybSinSpectralShape | ( | CLAM::Storage & | s | ) | [inline] |
Definition at line 48 of file SegmentSMSMorphConfig.hxx.
bool CLAM::SegmentSMSMorphConfig::LoadInterpolateFrame | ( | CLAM::Storage & | s | ) | [inline] |
Definition at line 40 of file SegmentSMSMorphConfig.hxx.
bool CLAM::SegmentSMSMorphConfig::LoadSamplingRate | ( | CLAM::Storage & | s | ) | [inline] |
Definition at line 69 of file SegmentSMSMorphConfig.hxx.
bool CLAM::SegmentSMSMorphConfig::LoadSynchronizeTime | ( | CLAM::Storage & | s | ) | [inline] |
Definition at line 43 of file SegmentSMSMorphConfig.hxx.
bool CLAM::SegmentSMSMorphConfig::LoadUseSpectralShapes | ( | CLAM::Storage & | s | ) | [inline] |
Definition at line 67 of file SegmentSMSMorphConfig.hxx.