Vocos

Fast neural vocoder that predicts spectral coefficients and reconstructs audio via inverse STFT.

Open SourceSelf HostedOffline Capable
0.0 (0)

About

Instead of generating waveform samples directly in the time domain, Vocos predicts Fourier spectral coefficients and reconstructs audio through an inverse short-time Fourier transform, closing the quality gap between time-domain GAN vocoders and much faster frequency-domain synthesis. Single-pass generation makes it quick even on CPU. Two pretrained models on Hugging Face cover the main use cases: vocos-mel-24khz, a 13.5M parameter model trained for 1 million iterations on LibriTTS that decodes mel spectrograms, and vocos-encodec-24khz, a 7.9M parameter model trained on the DNS Challenge corpus that reconstructs audio from EnCodec tokens at multiple bandwidths. Installation is pip install vocos, with a train extra for reproducing models, and the library slots into Bark and other token-based TTS systems as a drop-in decoder. Gemelo AI released both code and weights under the MIT license, so commercial use is unrestricted, and the 2023 arXiv paper documents the architecture. The vocoder now appears as the decoder inside a range of open TTS and neural codec pipelines where inference speed matters as much as fidelity.

Should you use Vocos?

Pick it when

Pick Vocos when your TTS or token-based pipeline needs a fast decoder at 24 kHz that runs well on CPU, from either mel spectrograms or EnCodec tokens, under MIT terms with a simple pip install.

Look elsewhere when

Skip it if you need sample rates above 24 kHz or a decoder aimed at music and environmental sound: BigVGAN-v2 covers 22 to 44 kHz at the cost of larger models and a GPU. Vocos also does no text processing itself.

Alternatives to Vocos

  • BigVGAN

    Covers 22 to 44 kHz and generalizes to unseen speakers and sounds, but its v2 checkpoints are 112M to 122M parameters and want a GPU.

  • SNAC

    Codec and decoder in one package at under 1 kbps for speech, the better pick if you are choosing a token format rather than decoding EnCodec.

  • Coqui TTS

    Bundles text front end, acoustic models, and vocoders, so you get speech from text, but you adopt a whole framework rather than a pip install decoder.

Reviews (0)

Leave a Review

No reviews yet. Be the first to review!

Details

Price
Free
Platform
Local/Desktop
Difficulty
Easy (2/5)
License
MIT
Added
Jul 29, 2026

Tags