Raw PCM audio sampled at 16kHz · 480000 samples total
Language Detection Confidence
English97.0%
Spanish1.0%
French1.0%
Chinese0.5%
Arabic0.5%
Whisper Architecture
Audio 30s chunk
→
Log-Mel Spec
→
Conv Stem
→
Transformer Enc
→
Transformer Dec
→
Text tokens
Controls
Audio Clip
Target Language
Chunk Size (seconds)
5s30s30s
Encoder Layers
Whisper (OpenAI 2022) uses a Conv+Transformer encoder to process 30s audio chunks as spectrograms.
Music and noise cause language detection uncertainty - low confidence across all languages.
Audio → Language (Whisper) - Interactive Visualization
Whisper (OpenAI, 2022) converts audio into text by first transforming 30-second chunks into 80-bin log-mel spectrograms, then encoding them with a convolutional stem followed by transformer blocks, and finally decoding to text tokens using a standard language model decoder. The same model performs language detection, translation, and transcription. Music and noise cause high uncertainty in language detection - the model distributes probability mass across many languages.
Chunk size slider: see how 30s chunk size affects the input representation
Architecture flow diagram showing the full encode-decode pipeline
Part of the EngineersOfAI Interactive 3D - free interactive visualizations covering every major concept in machine learning and AI engineering. Hover any element for a plain-English explanation. No code required.