Sample lab

The studio check

Reviewed

Two voices arrange a studio booking in ten seconds. Use the same recording to compare recognition results, test a subtitle import or check how your player highlights individual words.

Sample playerWAV / MONO
Studio check16 kHz
MayaIs the studio booked for Tuesday?
0:00 / 0:10

Reference transcript

  1. 0.200 s
    Maya Is the studio booked for Tuesday?
  2. 2.601 s
    Leo Yes. We have the room until noon.
  3. 5.469 s
    Maya Great. I'll bring the blue microphone.
  4. 8.308 s
    Leo I'll bring the spare cable.

How the reference timing was made

We wrote the four lines, then synthesized Maya and Leo separately with eSpeak NG 1.52.0. The WAV is a 16 kHz, 16-bit mono track lasting 10.169 seconds. Speaker names come from the script. Both voices are synthetic and their turns do not overlap.

Word onsets come from synthesis events. Within a turn, each word ends at the next onset, so the interval can include a pause. The last word in each turn ends just after the waveform falls quiet. This gives us a timing reference independent of either recognizer. The reference SRT prints each name. The reference WebVTT stores it in a voice span.

What the recognizers heard

We ran both local recognizers on the identical WAV. Whisper tiny.en transcribed “booked” as “worked.” Vosk made the same substitution, then heard “fair” in place of “spare” in the last turn. These differences are easy to miss when reading the output without the audio.

One synthetic English clip, 24 words, two voices
Local runWord editsWord error rateOutput timing
Whisper tiny.en
whisper.cpp 1.8.4
28.33%4 segments
Vosk small-en-us-0.15
Vosk 0.3.44
1250.00%27 timed words in one block

The score counts insertions, deletions and substitutions after lowercasing and removing punctuation. It keeps apostrophes inside words. For this clip, Whisper’s four segments line up with the four turns in order, but their ends differ from the reference by 318 milliseconds on average. Vosk returned one block spanning the four turns. Neither run identified the speakers. Use the linked comparison for the documented API options. Compare the four transcription routes

Reproduce the score

Save the reference JSON, the two recognizer JSON files and the scoring script in one folder. These commands require only Python 3.

python3 score.py studio-check-reference.json studio-check-whisper-tiny.en.json
python3 score.py studio-check-reference.json studio-check-vosk.json

For a fresh transcription run, use the model versions and commands in the Whisper run record and Vosk runner. The audio generation script recreates the original WAV. The short synthetic recording is a reproducible fixture for developers. It cannot establish which model handles natural interviews more accurately.

Download the sample files