Files
aharrison-fullerandClaude Opus 5 4475f6d39c Add benchmark harness and compare against 11 other STT backends
Measures median latency, strict exact-match accuracy, digit formatting and
silence behaviour across 48 clips (16 Home Assistant commands x 3 macOS TTS
voices), on an M4 Mac mini.

Headline: Parakeet v2 at 102ms median is 5x faster than the best whisper.cpp
configuration and lands within one clip of it on accuracy. mlx-whisper
large-v3 is the only backend to score 48/48, at 11x the latency. Moonshine is
2x faster again but gives up real accuracy (35/48).

Also quantifies the reason this defaults to v2 over v3: v3 returned digits
for only 10 of 21 number-bearing commands, against 21/21 for v2, which is
most of the gap between their exact-match scores.

The harness feeds audio to every backend as an array rather than a path --
mlx-whisper and moonshine otherwise shell out to ffmpeg, which this project
deliberately does not require.

Clips are gitignored; bench/make_clips.sh regenerates them. Caveats are
documented in the README: this is clean synthetic TTS, so it measures latency
rigorously and accuracy only as a domain smoke test, and faster-whisper is
CPU-only on Apple Silicon because CTranslate2 has no Metal backend.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
2026-07-29 03:32:57 +01:00

1.3 KiB

1# tts_inputexpected_transcripthas_number
2turn off the kitchen lightsturn off the kitchen lights0
3set the living room thermostat to twenty one degreesset the living room thermostat to 21 degrees1
4what is the temperature in the bedroomwhat is the temperature in the bedroom0
5dim the hallway lights to thirty percentdim the hallway lights to 30%1
6is the back door lockedis the back door locked0
7turn on the christmas tree in the conservatoryturn on the christmas tree in the conservatory0
8set a timer for twelve minutesset a timer for 12 minutes1
9play radio six music in the kitchenplay radio 6 music in the kitchen1
10what's the octopus agile rate right nowwhat's the octopus agile rate right now0
11close the blinds in the study and turn on the desk lampclose the blinds in the study and turn on the desk lamp0
12turn the bedroom lights down to five percentturn the bedroom lights down to 5%1
13how much solar am I generatinghow much solar am i generating0
14lock the front door and turn off all the lightslock the front door and turn off all the lights0
15set the upstairs aircon to eighteen degreesset the upstairs aircon to 18 degrees1
16pause the music in the living roompause the music in the living room0
17remind me in forty five minutesremind me in 45 minutes1