Skip to content

mmalt1/spectrogram_autoencoder

Repository files navigation

Denoising Convolutional Autoencoder (DCAE)

This model uses a CNN Autoencoder to denoise speech spectrograms. It can remove stationary and non-stationary noise, and can isolate main speakers from competing speakers.

Text-to-speech (TTS) systems require substantial amounts of high-quality training data to produce natural-sounding synthetic voices, yet such data is expensive to record. While open-source datasets offer an alternative, they often come with issues like background noise, reverberation, clipping, and limited bandwidth. Manually enhancing these datasets to studio quality can be equally costly. Automatic speech restoration has emerged as a solution, but state-of-the-art models are complex and demand extensive training data, making them inaccessible to smaller teams relying on open-source data.

This Denoising Convolutional Autoencoder (DCAE, in variable_length_restoration.py) was created from scratch with PyTorch to explore smaller-scale denoising and restoration architectures for accessible TTS training data augmentation.

Description

The DCAE architecture is first used for denoising speech spectrograms and speaker isolation. The best results are achieved using a U-Net inspired addition with skip connections [3]. This same architecture is then used with parallel amateur quality recordings and enhanced training data for a full speech restoration task, but no conclusive results are found. Full speech restoration is here defined as joint speech dereverberation, declipping, denoising and bandwidth extension. The DCAE architecture can be extended with a Variational Autoencoder (VAE) generative component or additional Transformer layers for the full speech restoration task.

Data

The LibriTTS [4] and LibriTTS-R [2] open-source speech datasets were used as training and testing data in this work. LibriTTS-R was used as parallel data to LibriTTS for the full speech restoration task. The open-source FastPitch [1] preprocessing steps were used to transform the audio files into spectrograms, as they match many state-of-the-art vocoders.

References

[1] A. Łańcucki, "Fastpitch: Parallel Text-to-Speech with Pitch Prediction," ICASSP 2021 - 2021 IEEE International Conference on Acoustics, Speech and Signal Processing (ICASSP), Toronto, ON, Canada, 2021, pp. 6588-6592, doi: 10.1109/ICASSP39728.2021.9413889.

[2] Koizumi, Y., Zen, H., Karita, S., Ding, Y., Yatabe, K., Morioka, N., Bacchiani, M., Zhang, Y., Han, W., Bapna, A. (2023). LibriTTS-R: A Restored Multi-Speaker Text-to-Speech Corpus. https://arxiv.org/abs/2305.18802

[3] Ronneberger, O., Fischer, P., Brox, T. (2015). U-Net: Convolutional Networks for Biomedical Image Segmentation. In: Navab, N., Hornegger, J., Wells, W., Frangi, A. (eds) Medical Image Computing and Computer-Assisted Intervention – MICCAI 2015. MICCAI 2015. Lecture Notes in Computer Science(), vol 9351. Springer, Cham. https://doi.org/10.1007/978-3-319-24574-4_28

[4] Zen, H., Dang, V., Clark, R., Zhang, Y., Weiss, R.J., Jia, Y., Chen, Z., Wu, Y. (2019). LibriTTS: A Corpus Derived from LibriSPeech fo Text-to-Speech. https://arxiv.org/abs/1904.02882

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors