mltk.utils.audio_dataset_generator.GenerationConfig

class GenerationConfig[source]

Audio sample generation configuration

Properties

keyword

The keyword text (this is either the base keyword or keyword alias)

keyword_group

The base keyword

voice

The backend voice

rate

The speaking rate

pitch

The voice pitch

Methods

__init__

copy

Return a deep copy of the configuration

voice: Voice

The backend voice

rate: VoiceRate

The speaking rate

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

copy()[source]

Return a deep copy of the configuration

Return type:

GenerationConfig

__init__(voice, rate, pitch, keyword=None, keyword_group=None)
Parameters:
Return type:

None