Back to Multimodal Mind Map
中文·English
👁️ MultimodalID: audio-representation

Audio Representation

音频表示
🎯Core Definition
Audio representation has three levels, from raw waveform to model-ready features, determining input dimension and information retained:
📌Overview
1. Waveform: 16 kHz mono 16-bit PCM is 16000 scalars per second at 256 kbps — lossless but extremely long sequences, expensive to model directly;
📌Overview
2. Mel-spectrogram: STFT (25 ms window, 10 ms hop) → mel filterbank (typically 80 bins) → log magnitude, yielding ~100 frames/s × 80 dims; keeps perceptual main information, drops phase, and is Whisper's input — but continuous, mismatched with text tokens, and phase must be restored by a vocoder;
📌Overview
3. Discrete audio tokens: neural codecs (EnCodec / SoundStream / DAC) compress the waveform through an encoder + RVQ residual quantization into discrete tokens: ~50-75 Hz frame rate, KK cascaded codebook tokens per frame, only a few kbps — roughly 1/50 to 1/100 of the raw 256 kbps (e.g. EnCodec 24 kHz audio @ 6-24 kbps).
📌Overview
Mel vs tokens: the spectrogram is dense and continuous but can't enter a discrete symbol space; tokens unify audio with text in one discrete space — the foundation of speech LLMs and end-to-end TTS.
💡Use Cases
ASR/TTS feature input (mel), speech LLMs and voice cloning (audio tokens), audio generation; interviews drill the dimensions/bitrates.
Key Problems Solved
waveforms are too long and spectrograms non-discrete to unify with text; neural codecs shrink 16000 samples/s into a few hundred tokens/s, cutting bitrate by two orders of magnitude (256 kbps → a few kbps) while preserving semantics and speaker identity, letting LLMs and diffusion models consume audio directly.
🎯5 High-Frequency Exam Points
1
How is a mel-spectrogram computed; what do 80 bins, 25 ms, 10 ms mean?
2
Pros and cons of waveform vs mel-spectrogram vs discrete tokens?
3
How do neural codecs tokenize audio; typical bitrate and compression ratio?
4
Why do speech LLMs consume discrete audio tokens instead of regressing mels?
5
Why does RVQ reach ~1/100 bitrate with acceptable reconstruction quality?
Updated 2026-08-12
🎯
Test Your Knowledge: Practice Questions for "Audio Representation"
Single choice pitfall questions with instant feedback and mistake tracking.
🚀 Start Card Practice
Previous CardProgressive Video TrainingNext CardASR (Whisper)

🔗 More Multimodal Knowledge Cards

Classifier-Free GuidanceCLIP ApplicationsCLIP Two-Tower ArchitectureColPali Visual Retrieval