Please cite the HiFiGAN paper when using this.
A simple wrapper for the this HiFiGAN Implementation. This wrapper just adds an interface to the model.
pip install git+https://github.com/MiniXC/simple_hifigan.git
from simple_hifigan import Synthesiser
synthesiser = Synthesiser()
# create a mel spectrogram
mel_spectrogram = synthesiser.wav_to_mel(
some_audio, some_sample_rate
)
# multiple mel spectrograms
mel_spectrograms = synthesiser.wavs_to_mels(
some_audios, some_sample_rate
)
# mel spectrogram to audio
audio = synthesiser(mel_spectrogram)