Neural audio codec
Audio compression in which a trained encoder and decoder replace the hand-built psychoacoustic models of MP3 and Opus.
An encoder squeezes audio into a short sequence of vectors, which are quantised in stages — residual vector quantisation, where each codebook corrects the error left by the previous one. The decoder rebuilds the waveform and is trained against a discriminator that punishes anything that sounds synthetic. Google's SoundStream (2021) and Meta's EnCodec (2022) handled speech and music at 3–6 kbps, a range where conventional codecs sound like a phone line underwater.
The bigger consequence was unplanned. Codebook indices are discrete tokens, and discrete tokens are exactly what a transformer likes to eat. The codec thus became the first stage of almost all generative audio AI, from voice cloning to music generators such as MusicGen.