mltk.utils.audio_dataset_generator.GenerationConfig¶
- class GenerationConfig[source]¶
Audio sample generation configuration
Properties
The keyword text (this is either the base keyword or keyword alias)
keyword_filename
The base keyword
keyword_group_filename
The backend voice
The speaking rate
The voice pitch
Methods
Return a deep copy of the configuration
- pitch: VoicePitch¶
The voice pitch
- keyword: str = None¶
The keyword text (this is either the base keyword or keyword alias)
- keyword_group: str = None¶
The base keyword
- __init__(voice, rate, pitch, keyword=None, keyword_group=None)¶
- Parameters:
voice (Voice) –
rate (VoiceRate) –
pitch (VoicePitch) –
keyword (str) –
keyword_group (str) –
- Return type:
None