Vocoder with HiFIGAN trained on LibriTTS This repository provides all the necessary tools for using a HiFIGAN vocoder trained with LibriTTS (with multiple speakers). The sample rate used for the vocoder is 22050 Hz. The pre trained model takes in input a spectrogram and produces a waveform in output. Typically, a vocoder is used after a TTS model that converts an input text into a spectrogram. Alternatives to this models are the following: tts hifigan libritts 16kHz (same model trained on the same dataset, but for a sample rate of 16000 Hz) tts hifigan ljspeech (same model trained on LJSpeech for a sample rate of 22050 Hz). Install SpeechBrain Please notice that we encourage you to read our tutorials and learn more about SpeechBrain. Using the Vocoder Basic Usage: Spectrogram to Waveform Conversion: Using the Vocoder with the TTS Inference on GPU To perform inference on the GPU, add run opts={"device":"cuda"} when calling the from hparams method. Training The model was trained with SpeechBrain. To train it from scratch follow these steps: 1. Clone SpeechBrain: 2. Install it: 3. Run Training: To change the sample rate for model training go to the "recipes/LibriTTS/vocoder/hifigan/hp…
We use cookies for essential functionality and analytics. You can accept or reject analytics cookies.Cookie policy