EnCodec
A neural network audio codec developed by Meta that compresses audio into discrete token sequences and reconstructs it. It is widely used as the acoustic encoding layer in AI music generation models.
Core Facts
Timeline (last 90 days)
Common codec architectures include models based on VQ-VAE or residual vector quantization, such as SoundStream and EnCodec.
Traditional TTS pipelines rely on an acoustic tokenizer (such as discrete codecs, with common implementations including SoundStream and EnCodec) to discretize audio through residual vector quantization.
Audio conditioning techniques typically rely on pretrained audio encoders (such as CLAP or EnCodec) to compress reference audio into embedding vectors, which are then injected into the generative network via cross-attention or AdaLN mechanisms.
Discrete token schemes (such as EnCodec, SoundStream, and Mimi) require predicting a set of residual vector quantization codebooks at each timestep, and in Mistral's scenarios having more than 30 codebooks significantly increases generation latency.
Some research attempts to encode audio as sequences of discrete tokens (such as EnCodec and SoundStream), enabling language models to read and write audio.
All Facts (6)
Native audio architectures perform self-attention computation directly on mel spectrograms or quantized audio encodings (such as the discrete audio tokens produced by EnCodec), thereby capturing prosody, emotion, and speaker identity information absent from text representations.
75%UnverifiedCommon codec architectures include models based on VQ-VAE or residual vector quantization, such as SoundStream and EnCodec.
50%UnverifiedTraditional TTS pipelines rely on an acoustic tokenizer (such as discrete codecs, with common implementations including SoundStream and EnCodec) to discretize audio through residual vector quantization.
50%UnverifiedAudio conditioning techniques typically rely on pretrained audio encoders (such as CLAP or EnCodec) to compress reference audio into embedding vectors, which are then injected into the generative network via cross-attention or AdaLN mechanisms.
50%UnverifiedDiscrete token schemes (such as EnCodec, SoundStream, and Mimi) require predicting a set of residual vector quantization codebooks at each timestep, and in Mistral's scenarios having more than 30 codebooks significantly increases generation latency.
50%UnverifiedSome research attempts to encode audio as sequences of discrete tokens (such as EnCodec and SoundStream), enabling language models to read and write audio.
50%