
dac (base neural audio codec)
Audio and speech1,055 ops76.6M params
A neural audio codec with an encoder, a residual vector quantizer and a decoder.
Audio and speech · 61 operations Checked
Click or tap a spot to read it up close. Scroll or drag inside the diagram to move through it. Zoom with + and − or Ctrl and scroll. Press 0 for the whole graph. Swipe inside the diagram to move through it. Use + and − to zoom.
The file opened in a new tab. Use your browser's Save command there to keep it.
The diagram is a drawing of a TorchLens trace of the source code. It contains no code or weights.
How this diagram was made
menagerie.classics.wave_d_reimpl:build_speech: build({}) About this model's family
DAC, the Descript Audio Codec, is a neural audio codec that compresses audio into discrete tokens and reconstructs the audio from them. It was proposed in the paper "Descript Audio Codec: High-Fidelity Audio Compression with Improved RVQGAN". The paper's abstract describes a universal neural audio compression algorithm that achieves about 90x compression of 44.1 KHz audio into tokens at 8kbps bandwidth. The authors say they get there by combining advances in high-fidelity audio generation with better vector quantization techniques from the image domain, along with improved adversarial and reconstruction losses. One model is used for all domains of audio, including speech, environment and music.
The model is structured into three stages. An encoder compresses the input audio, a residual vector quantizer (RVQ) quantizes the latent codes of the audio, and a decoder reconstructs the audio from its compressed form.
Key idea. The paper introduced a universal neural audio compression model that compresses 44.1 KHz audio about 90x into tokens at 8kbps bandwidth.
AI-written summary, based on the model's documentation and checked automatically against it; not reviewed by a person. Corrections welcome.