hn.today

Show HN: An API for word timestamps from speech, 75% within 20ms

quebec.yarn.so29 points5 comments
Screenshot of Show HN: An API for word timestamps from speech, 75% within 20ms

Quebec is an English-language API that turns audio into a transcript with start and end times for each word, or aligns a transcript supplied by the user to its audio. It accepts common audio and video formats, handles files up to one hour and 1 GB, and typically processes an hour of audio in about a minute. The service costs $0.32 per audio hour, billed by the second; failed requests are free. Users create an API key without signing up, add prepaid credit, then call the transcription or alignment endpoint and receive word-level timestamps, with speaker labels included in transcription results. The API also provides balance checks and defined errors for issues such as insufficient funds, oversized files, or temporary capacity limits.

The accuracy claim is that 75% of word boundaries fall within 20 milliseconds of hand-labelled boundaries, based on speech from the Buckeye corpus, which was not used in training. In the same test, Quebec had an 11% rate of “bad cuts,” compared with 19% for MFA 3.x, 39% for ElevenLabs Cue, and 49% for WhisperX. A bad cut means removing a word would affect a neighboring word’s audio by more than 50 milliseconds. The write-up notes that independent human annotators agree within 20 milliseconds about 79% of the time, suggesting a practical upper bound. Quebec uses MFA’s acoustic model and Whisper tiny’s features. Yarn says it built the aligner for its video-editing product and is now making it publicly available at cost.

Read on quebec.yarn.so5 comments on Hacker News

Summary generated by AI from the linked article. hn.today is not affiliated with Hacker News or Y Combinator.

More in Programming

GIMP now has UI tests

GIMP now has UI tests

GIMP has introduced automated UI tests that launch the real application and check common tasks, from opening dialogs to exporting images. The tests run in a hidden desktop on CI servers and use accessibility data, also helping improve screen-reader support. (gimp.org)

PostgreSQL 19

PostgreSQL 19

PostgreSQL 19 adds online table repacking, query-planning advice, faster database operations, and expanded logical replication and standby consistency features. Upgrading requires a migration step, and compatibility changes include removing RADIUS support and enforcing standard-conforming strings. (postgresql.org)

The daily digest

Today's best Hacker News stories, summarized and screenshotted, one email a day.