mltk.utils.audio_dataset_generator.Augmentation

class Augmentation[source]

Augmentations to apply to the audio sample

Properties

pitch

The pitch of the voice

rate

The speaking rate of the voice

Methods

__init__

count

Return number of occurrences of value.

index

Return first index of value.

pitch: VoicePitch

The pitch of the voice

rate: VoiceRate

The speaking rate of the voice

count(value, /)

Return number of occurrences of value.

index(value, start=0, stop=sys.maxsize, /)

Return first index of value.

Raises ValueError if the value is not present.