Log inStart free
LESSON 25.10 · 6 STAGES · 3 CONTROLS · 3 CHECKSPRO · PREVIEW

Speech recognition

Watch one spoken word turn into letters, one 16 ms frame at a time.


Pro lesson. Stage 1 is free to watch. Pro opens all 6 stages, 3 controls and 3 checks, in this lesson and every other.

Go Pro · $8.25/mo
EXPLAINER · 25.10 · SPEECH TO TEXT“YES” · 63 FRAMES × 16 BANDS · NOISE NONE
01
Stage 1 of 6 · Log-mel input
The recognizer reads the log-mel features of 25.09: 63 frames of 16 numbers.
Explain it simply

This grid is the word yes, as lesson 25.09 turned it into numbers. Each column is one frame, a slice of 16 milliseconds. Each row is one mel band, with low pitches at the bottom. The model reads one column at a time.

A grid of 63 frames by 16 mel bands for “yes”, with its sounds marked above it.

sound: features xweights Wprobabilities, texterrors
log-mel features x (16 bands × 63 frames)lowhighyes0 s0.5 s1 slog-mel features x (16 bands × 63 frames)lowhighyes0 s0.5 s1 s
Toy: the 25.09 word, 6 tokens; trained on the two clean words only
STAGE 1 / 6
MATH · STAGE 1HOVER A SYMBOL OR A SHAPE
xt=dB+6060∈[0,1]16\sy{x}{data}{x_t} = \frac{\text{dB} + 60}{60} \in [0, 1]^{16}
x25=[0.23,0.45,0.52,…,0.23]\sy{x}{data}{x_{25}} = [0.23, 0.45, 0.52, \ldots, 0.23]

Each frame becomes 16 numbers between 0 and 1.

Common mix-ups

MYTHEach frame gives one letter of the text.

The fix, and 1 more mix-up with the diagram to show them, come with Pro.

Predict, then reveal
3 CHECKS · PRO
Q01Add noise at 20 dB. What does the greedy decoder write for yes?

Make your guess, then test it in the diagram. All 3 checks come with Pro.

PRO LESSON · YOU WATCHED STAGE 1 OF 6
Unlock the full explainer
  • 5 more stages and 3 live controls
  • 2 mix-up cards and 3 predict-then-reveal checks
  • Watch it as a narrated video, in three voices
  • Every Pro lesson and capstone · 656 in total

$99 a year, or $15 a month. Cancel any time.