Skip to content

Fix trim silence from the beggining of audio#181

Open
mohammadreza-sz wants to merge 1 commit into
OHF-Voice:mainfrom
mohammadreza-sz:fix_trim_silence
Open

Fix trim silence from the beggining of audio#181
mohammadreza-sz wants to merge 1 commit into
OHF-Voice:mainfrom
mohammadreza-sz:fix_trim_silence

Conversation

@mohammadreza-sz

Copy link
Copy Markdown

When I checked the cached audio files in the cache folder used for training, it turned out that the silence at the beginning of the audio had not been removed. This affects model inference, as the model produces audio with silence at the beginning.
The issue originates from this line in dataset.py.

math.floor(num_original_samples * (offset_sec / audio_seconds))

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant