|
CLAM-Development
1.4.0
|
#include <SegmentSMSMorphConfig.hxx>
Public Member Functions | |
| DYNAMIC_TYPE_USING_INTERFACE (SegmentSMSMorphConfig, 16, ProcessingConfig) | |
| DYN_ATTRIBUTE (0, public, std::string, FileName) | |
| FileName where pre-analyzed sound to morph is to be found. | |
| DYN_ATTRIBUTE (1, public, BPF, HybBPF) | |
| BPF (envelope-like) Parameter. | |
| DYN_ATTRIBUTE (2, public, bool, InterpolateFrame) | |
| boolean Parameter. | |
| DYN_ATTRIBUTE (3, public, BPF, SynchronizeTime) | |
| BPF (envelope-like) Parameter. | |
| DYN_ATTRIBUTE (4, public, BPF, HybSinAmp) | |
| BPF (envelope-like) Parameter. | |
| DYN_ATTRIBUTE (5, public, BPF, HybSinSpectralShape) | |
| BPF (envelope-like) Parameter. | |
| DYN_ATTRIBUTE (6, public, BPF, HybSinShapeW1) | |
| BPF (envelope-like) Parameter. | |
| DYN_ATTRIBUTE (7, public, BPF, HybSinShapeW2) | |
| BPF (envelope-like) Parameter. | |
| DYN_ATTRIBUTE (8, public, BPF, HybPitch) | |
| BPF (envelope-like) Parameter. | |
| DYN_ATTRIBUTE (9, public, BPF, HybSinFreq) | |
| BPF (envelope-like) Parameter. | |
| DYN_ATTRIBUTE (10, public, BPF, HybResAmp) | |
| BPF (envelope-like) Parameter. | |
| DYN_ATTRIBUTE (11, public, BPF, HybResSpectralShape) | |
| BPF (envelope-like) Parameter. | |
| DYN_ATTRIBUTE (12, public, BPF, HybResShapeW1) | |
| BPF (envelope-like) Parameter. | |
| DYN_ATTRIBUTE (13, public, BPF, HybResShapeW2) | |
| DYN_ATTRIBUTE (14, public, bool, UseSpectralShapes) | |
| Whether to use spectral Shapes or not. | |
| DYN_ATTRIBUTE (15, public, TData, SamplingRate) | |
| Sampling rate of the input audios. | |
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 () |
Protected Member Functions | |
| void | DefaultInit () |
| The concrete dynamic type constructor calls DefaultInit(). | |
| void | DefaultValues () |
Definition at line 30 of file SegmentSMSMorphConfig.hxx.
|
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().
|
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().
| CLAM::SegmentSMSMorphConfig::DYN_ATTRIBUTE | ( | 0 | , |
| public | , | ||
| std::string | , | ||
| FileName | |||
| ) |
FileName where pre-analyzed sound to morph is to be found.
| CLAM::SegmentSMSMorphConfig::DYN_ATTRIBUTE | ( | 1 | , |
| public | , | ||
| BPF | , | ||
| HybBPF | |||
| ) |
BPF (envelope-like) Parameter.
Defines how much of each sound is being used from 0 to 1
| CLAM::SegmentSMSMorphConfig::DYN_ATTRIBUTE | ( | 2 | , |
| public | , | ||
| bool | , | ||
| InterpolateFrame | |||
| ) |
boolean Parameter.
Defines whether intermediate frames should be interpolated from existing ones.
| CLAM::SegmentSMSMorphConfig::DYN_ATTRIBUTE | ( | 3 | , |
| public | , | ||
| BPF | , | ||
| SynchronizeTime | |||
| ) |
BPF (envelope-like) Parameter.
Defines temporal relation between input sound and sound to hybridize
| CLAM::SegmentSMSMorphConfig::DYN_ATTRIBUTE | ( | 4 | , |
| public | , | ||
| BPF | , | ||
| HybSinAmp | |||
| ) |
BPF (envelope-like) Parameter.
Amount of amplitude of sinusoids to take from input sound (0) or sound to hybridize (1)
| CLAM::SegmentSMSMorphConfig::DYN_ATTRIBUTE | ( | 5 | , |
| public | , | ||
| BPF | , | ||
| HybSinSpectralShape | |||
| ) |
BPF (envelope-like) Parameter.
Defines whether HybSinShapeW1 or HybSinShapeW2 should be used
| CLAM::SegmentSMSMorphConfig::DYN_ATTRIBUTE | ( | 6 | , |
| public | , | ||
| BPF | , | ||
| HybSinShapeW1 | |||
| ) |
BPF (envelope-like) Parameter.
Weight given to input spectral shape in relation to sound to hybridize spectral shape
| CLAM::SegmentSMSMorphConfig::DYN_ATTRIBUTE | ( | 7 | , |
| public | , | ||
| BPF | , | ||
| HybSinShapeW2 | |||
| ) |
BPF (envelope-like) Parameter.
Weight given to sound to hybridize spectral shape in relation to input sound spectral shape
| CLAM::SegmentSMSMorphConfig::DYN_ATTRIBUTE | ( | 8 | , |
| public | , | ||
| BPF | , | ||
| HybPitch | |||
| ) |
BPF (envelope-like) Parameter.
Pitch to use: 0 input, 1 sound to hybridize
| CLAM::SegmentSMSMorphConfig::DYN_ATTRIBUTE | ( | 9 | , |
| public | , | ||
| BPF | , | ||
| HybSinFreq | |||
| ) |
BPF (envelope-like) Parameter.
Hybridize Sinusoidal Frequency
| CLAM::SegmentSMSMorphConfig::DYN_ATTRIBUTE | ( | 10 | , |
| public | , | ||
| BPF | , | ||
| HybResAmp | |||
| ) |
BPF (envelope-like) Parameter.
Hybridize Residual Frequency
| CLAM::SegmentSMSMorphConfig::DYN_ATTRIBUTE | ( | 11 | , |
| public | , | ||
| BPF | , | ||
| HybResSpectralShape | |||
| ) |
BPF (envelope-like) Parameter.
Hybridize Residual Spectral Shape
| CLAM::SegmentSMSMorphConfig::DYN_ATTRIBUTE | ( | 12 | , |
| public | , | ||
| BPF | , | ||
| HybResShapeW1 | |||
| ) |
BPF (envelope-like) Parameter.
Weight for Residual Spectral Shape
| CLAM::SegmentSMSMorphConfig::DYN_ATTRIBUTE | ( | 13 | , |
| public | , | ||
| BPF | , | ||
| HybResShapeW2 | |||
| ) |
| CLAM::SegmentSMSMorphConfig::DYN_ATTRIBUTE | ( | 14 | , |
| public | , | ||
| bool | , | ||
| UseSpectralShapes | |||
| ) |
Whether to use spectral Shapes or not.
| CLAM::SegmentSMSMorphConfig::DYN_ATTRIBUTE | ( | 15 | , |
| public | , | ||
| TData | , | ||
| SamplingRate | |||
| ) |
Sampling rate of the input audios.
WARNING: It must be the same for both audios!
| CLAM::SegmentSMSMorphConfig::DYNAMIC_TYPE_USING_INTERFACE | ( | SegmentSMSMorphConfig | , |
| 16 | , | ||
| ProcessingConfig | |||
| ) |
1.8.1