VoiceSDK
5.0.2
|
Class representing a voice template converter. More...
#include <voicesdk/core/common/voice_template_converter.h>
Public Types | |
using | Ptr = std::shared_ptr< VoiceTemplateConverter > |
Public Member Functions | |
virtual VoiceTemplate::Ptr | convertVoiceTemplate (const VoiceTemplate::Ptr &voiceTemplate) const =0 |
Converts voice template from one configuration to another. More... | |
virtual const std::string & | getInputInitDataId () const =0 |
Returns init data ID that voice template to be converted should have. More... | |
virtual const std::string & | getOutputInitDataId () const =0 |
Returns init data ID that converted voice template will have. More... | |
virtual | ~VoiceTemplateConverter ()=default |
Static Public Member Functions | |
static Ptr | create (const std::string &initPath) |
Factory method. More... | |
Class representing a voice template converter.
using voicesdk::VoiceTemplateConverter::Ptr = std::shared_ptr<VoiceTemplateConverter> |
|
virtualdefault |
|
pure virtual |
Converts voice template from one configuration to another.
voiceTemplate | Voice template to be converted |
std::runtime_error | if runtime error occurred |
|
static |
Factory method.
initPath | Path to the init data folder |
std::runtime_error | if runtime error occurred |
|
pure virtual |
Returns init data ID that voice template to be converted should have.
|
pure virtual |
Returns init data ID that converted voice template will have.