mltk.utils.audio_dataset_generator.Voice

class Voice[source]

The backend voice used to generate a keyword

Properties

hex_hash

A unique hash for the voice This may be used to group samples so that the same voice does not appear in the "training" and "validation" subsets

name

The name of the voice as specified by the backend

language_code

The language code of the voice as specified by the backend

backend

The name of the voice's backend

Methods

__init__

hashable_value

The value used to generate a unique "hash" for the voice

name: str

The name of the voice as specified by the backend

language_code: str

The language code of the voice as specified by the backend

backend: str

The name of the voice’s backend

hashable_value()[source]

The value used to generate a unique “hash” for the voice

Return type:

str

property hex_hash: str

A unique hash for the voice This may be used to group samples so that the same voice does not appear in the “training” and “validation” subsets

Return type:

str

__init__(name, language_code, backend)
Parameters:
  • name (str) –

  • language_code (str) –

  • backend (str) –

Return type:

None