2026-11-26 15:40 UTC

Yarn launches Quebec, an English word-alignment API

state: seedheat: mediumuncertainty: mediumrelevance: mediumspeech-recognition video-editing audio-alignmentYarnAman Javeri Kadri

What is this?

Yarn, a company behind a transcript-based video editor, says it has made Quebec available: an English-only API that aligns speech audio with a supplied transcript and returns word-level start and end times. Its first-party write-up, attributed to founding engineer Aman Javeri Kadri and dated Nov. 13, 2026, describes a system combining the Montreal Forced Aligner acoustic model, a constrained decoder, and a small boundary-refinement model trained partly on Gemini-generated labels. The company reports 75% of boundaries within 20 ms on the unseen Buckeye test corpus; its write-up also cites 77% for the boundary model in its development results. A Show HN post dated Nov. 18 repeats the 75% result. These are company-reported evaluations, not independent confirmation. The write-up’s opening says the next-best system gets 54%, while its Buckeye table reports MFA at 61% and ElevenLabs at 30%; the supplied sources do not resolve that difference. The timeline is also inconsistent: the linked page was fetched Nov. 17, before the supplied Nov. 18 Show HN timestamp.

Why it matters

More accurate word boundaries could make transcript-based editing less prone to clipping adjacent words, and improve other workflows that depend on word-level speech timing. Quebec is notable as a practical, low-cost API rather than a new general-purpose speech model: Yarn says it is available now, English-only, at $0.32 per audio hour, with no signup. Its reported gains are promising, but come from the company’s own test and should be treated cautiously pending independent evaluation.

Current assessment

Yarn’s first-party page says Quebec is live and accepts audio alone for transcription with word times, or audio plus a transcript for alignment. The company reports 75% of boundaries within 20 ms and 11% bad cuts on Buckeye, versus 61% and 19% for MFA, and 30% and 39% for ElevenLabs; it says the test corpus was not seen in training. The Show HN post independently repeats the 75% figure but is the company’s own launch post, not independent validation. The approach combines existing components rather than training a full aligner from scratch. Yarn says it is slower than ElevenLabs on short recordings, English-only, and priced at $0.32/hour; these are company statements. The main uncertainty is comparability: the page’s opening claim that the next-best system reaches 54% does not match its Buckeye table, and the sources do not explain the discrepancy. No independent benchmark or adoption evidence is supplied. The opportunity is more reliable transcript-driven video cuts and potentially other word-timing applications; broader language performance and real-world reliability remain unestablished.

Measured heat

now 0 pts/hpeak 11 pts/hcomments 0/hpeers p10momentum: steady1 platformsage 216h
points/hour across evidence · reading as of 2026-11-27 02:23:58.509736+11:00 · deterministic, not a model opinion

How the heat travelled

11-17 15:16⭐ origin directly observedShow HN: An API for word timestamps from speech, 75% within 20ms
jasperstory on hacker news
—
11-17 15:16amplified on hacker news 👑hn.story.50532515
jasperstory
peak 82 · 11 comments · 100% of case engagement
11-17 15:20our radar first saw it · +0.1hdiscovery anchor: hn.story.50532515—
pace: p78 vs 2096 stories at the 168h mark (now 216h old) — ahead of october-vibe-game-development-inflection (1.0x), behind huggingface-finedna-dataset (1.0x)

Evidence (1) — ⭐ canonical anchor

sourceobjectauthorscorecomments
🟧 hn ⭐Show HN: An API for word timestamps from speech, 75% within 20ms
Retrieved article excerpt

Open article · Retrieved 2026-11-17T15:24:06.526080+00:00

# Yarn Quebec: We built a really good forced aligner

Aman Javeri Kadri, Founding Engineer · Nov 13, 2026

For a while now, deleting a word in [Yarn](https://yarn.so) has had a decent chance of clipping the word next to it. (Yarn is a video editor where you, or agents, edit by editing the transcript.) Word times come from a forced aligner, and none we found was accurate enough, so we built Quebec to fix that. It puts 77% of word edges within 20 ms of a human’s; the next best gets 54%.

Here's an example before and after:

[![](assets/media/quebec_vs_elevenlabs-poster.jpg)](assets/media/quebec_vs_elevenlabs.mp4)

0:00Original
0:07Words removed
0:11Cut with ElevenLabs Cue
0:17Cut with Quebec

The same sentence cut with ElevenLabs' timings and with Quebec's.

We found that a clean cut needs each word’s start and end to within about 20 ms. Getting those times is called forced alignment: you give it the audio and the transcript, and it tells you when each word starts and ends. We tried [WhisperX](https://github.com/m-bain/whisperX), [ElevenLabs Cue](https://elevenlabs.io/blog/cue-aligner) and the [Montreal Forced Aligner](https://montreal-forced-aligner.readthedocs.io/en/latest/) (MFA) in turn, then measured these amongst a few others (like Qwen3-ForcedAligner) against hand-labelled speech. Even with the best of them, around a fifth of cuts come out wrong.

Forced alignment takes audio and its transcript and returns the time each word starts and ends. Hover a word for its times.

We looked at two things: how many word boundaries are within 20 ms of where a person put them, and how often deleting a single word goes wrong. Our editor cuts at the midpoint of the gap to the next word, and we call it a bad cut if that takes more than 50 ms off the neighbour or leaves more than 50 ms of the deleted word behind.

Boundaries within 20 ms and bad cuts for each system, and what each step of Quebec added. The dashed line is how often two humans agree (79%, estimated).

WhisperX and ElevenLabs both put word starts about 50 ms late (we still don't know why). Subtracting that helps a lot but not enough, because the timings are noisy as well as late. MFA is more precise, but it sometimes loses its place. About 1 word in 12 came back with no time at all, and now and then a whole phrase ended up somewhere it clearly wasn't said.

Word start error

How far each system puts the start of a word from the hand label. 13,900 words.

Window  ±20 ms

Share of word starts inside the window. Starts only, so these differ a little from the boundary numbers above.

We figured somebody must have fixed this already, but found nothing better. Quebec is extremely close to as good as hand-labelling, and you can try it at [quebec.yarn.so](https://quebec.yarn.so). It took three things: fencing beam search with a custom decoder, a small neural model to sharpen boundaries and training data for that model.

audio

→

Transcriber

ElevenLabs Scribe

32%

→

[Fenced decoder

MFA acoustic model

60%](https://quebec.yarn.so#decoder)

→

[Boundary model

Whisper tiny, 2 layers

77%](https://quebec.yarn.so#boundary-model)

→

word times

Boundaries within 20 ms after each stage
oursexisting

1The decoder

## Containing MFA search with a fence

First, the fence. MFA can sometimes lose its place because of its beam search. It throws away unlikely paths as it goes, and if the audio and the transcript disagree for a second, the right path can be one it already threw away. (We first tried having an LLM referee between MFA and the transcriber. The best models picked the right one only a little better than chance.)

The transcriber (ElevenLabs Scribe for us) has sloppy timings, but it's almost never off by a lot (under 2% of words are more than 200 ms out). So we let the transcriber say roughly where each word is, and only let the precise search look near there.

The fence

The transcriber says roughly where a word is. The precise search only looks nearby. Drag the transcriber’s guess.

Transcriber is off by  +70 ms

That meant writing our own decoder. It uses MFA's acoustic model, but each word has to start and end within 200 ms of where the transcriber put it. Boxed in like that, the search is small enough to solve exactly, with no pruning, and long recordings can be split at pauses and run in parallel. Words that came back with no time went from 1 in 12 to about 1 in 500, and bad cuts dropped from MFA's 21% to 12%.

2The boundary model

## A small model that only looks at boundaries

The fence mostly helped with the large misplacements, but only about 60% of boundaries were within 20 ms even with the new decoder, barely better than MFA. That was mostly a limit of the acoustic model, which is trained to say which sound each 10 ms slice of audio is. Many real world joins overlap phonemes, in which case the acoustic model can put the line almost anywhere in the blend and score about the same.

To solve this, we added a small convolutional net that looks at each boundary on its own. It gets 200 ms of audio on each side, as a spectrogram plus features from the first two layers of Whisper tiny, and says where in that window the boundary is, in 5 ms steps. It can move a boundary by at most 50 ms.

first sound

overlap

second sound

Acoustic modelnames the sound in each 10 ms slice

either label scores about the same

Convolutional netsays where the boundary is, in 5 ms steps

Where two sounds overlap, the acoustic model's label for each 10 ms slice could go either way. The convolutional net gives one position for the boundary, in 5 ms steps.

This works because by this point the problem is small. The fence already has nine boundaries in ten within 50 ms, so the net has a contained problem of deciding where one sound hands over to the next. It takes boundaries within 20 ms from 60% to 77% and the median error from 15 ms to 8 ms. We trained it on about 73,000 labelled boundaries from public and private recordings. We were able to build the private dataset surprisingly efficiently with LLMs.

3Training data

## Getting 'hand-labelled' data

The net needs speech with hand-marked boundaries to learn from, and nearly all of that is paid or research-only. The one openly licensed set we found was the [Map Task corpus](https://groups.inf.ed.ac.uk/maptask/), about 56,000 boundaries. We need more data that was diverse and matched our varied customer recordings so we tried labelling with LLMs.

The first few tries didn't work, showing a model a spectrogram and asking for the boundary was worse than the decoder's own guess. Coding agents drawing their own plots burned about 100,000 tokens per 15 boundaries and were no better. The version that worked was one Gemini call with the decoder's guess for where to look, two plots of the audio at different zooms, and a page of rules about where words start and end. One of the rules:

> For a word ending in a vowel, nasal or liquid, the word ends where the regular strong glottal pulses stop and the 500-4000 Hz energy collapses [...] the weak decaying low-frequency murmur [...] belongs to the pause.

Where the word “So” ends

Gemini lands on the human mark. The decoder alone is 44 ms late.

The end of the word "So". The decoder alone is 44 ms into the pause, and Gemini and the human both stopped where the voicing collapses.

We checked the labels a few ways before training on them. Against human labels Gemini was within 20 ms 69% of the time, where the guesses it started from were at 51%. Two different Gemini models were within 20 ms of each other 94% of the time. And adding Gemini's labels to the training set helped as much as adding human labels for the same boundaries, 73.9% against 74.0%.

We labelled 16,852 boundaries from recordings made with our product. It took a couple of hours and cost under $200.

## Results

All this put together gives us an extremely accurate forced aligner for english speech, and results that transfer well across datasets and labelling methods. Here are results for a corpus of American speech that was never seen in training:

| Buckeye corpus | Boundaries within 20 ms | Bad cuts |
| --- | --- | --- |
| Quebec | 75% | 11% |
| MFA | 61% | 19% |
| ElevenLabs | 30% | 39% |
| WhisperX | 24% | 49% |

Here's a visual of a delete like the one at the top, with ElevenLabs' timings and with ours.

Deleting “go” from “should go straight”

The band is what each system would cut. The dashed outline is the other system’s cut.

Quebec's timings
ElevenLabs' timings

## Speed

It also took some work to get our aligner to be fast and scalable. We run our aligner on Lambdas, and long recordings are cut at pauses into 2-minute pieces that run in parallel, so long recordings aren't much slower than short ones.

Our decoder is about twice as fast as the Kaldi search it replaced, because the fence leaves it so little to search. And we switched from HuBERT to using the first two layers of Whisper tiny for our boundary model to get latency down on lambda CPU. Our boundary model now runs in 0.7s per minute of audio.

HuBERT with 9 layers is 293 MB, takes 4 s per minute of audio and gets 76% of boundaries within 20 ms. The first two layers of Whisper tiny are 19 MB, take 0.7 s and get 77%. Circle area is model size.

## Caveats

We didn’t train an aligner from scratch. The acoustic model is from MFA, we start from the transcriber’s rough timings and the features we train on are Whisper’s. Our work is in how they’re combined and training on our generated boundary labels.

It’s English only, because that’s what our customers speak. Nothing in the approach is specific to English, but we haven’t tried it elsewhere.

We tradeoff speed for quality on short recordings. ElevenLabs aligns 4 minutes of audio in about a second and we take about 7s. This doesn't scale since we parallelize chunks.

## Try it

Quebec is live, and the docs are below. You can send it audio and get back a transcript with word times, or send audio with a transcript you already have and get times for those words. There’s no signup, and it’s free until 8 pm Eastern on Monday. Point your agent at this page to get started.

If you know of a better aligner, we'd love to try it.

## Docs

The same docs are plain text at [quebec.yarn.so/llms.txt](https://quebec.yarn.so/llms.txt).

Copy

```
It costs $0.32 per hour of audio, billed by the second. Failed requests are free. English
only, up to 60 minutes and 1 GB per file. An hour of audio takes about a minute.

1. Create a key

   curl -X POST https://quebec.yarn.so/keys
   -> 201 {"api_key": "qb_123_...", "balance_usd": 0, "top_up_url": "https://quebec.yarn.so/top-up/123"}

   There is no signup. Save the key somewhere secret, because it is shown only once. If you lose
   it, email [email protected] from the address you verified or paid with and we'll move the balance
   to a new key.

2. Add credit

   Open top_up_url in a browser to pay $10 by card. Add ?amount=25 or ?amount=100 to pay more.
   /balance gives you the link again.

   A company email gets $5 free:

   curl https://quebec.yarn.so/credit -H "Authorization: Bearer qb_123_..." \
     -H "Content-Type: application/json" -d '{"email": "[email protected]"}'
   -> 202 {"status": "verification_sent"}

   We email a link, and the $5 is added when it's opened. Once per company, and not for Gmail
   or other free addresses.

3. Transcribe

   curl https://quebec.yarn.so/transcribe -H "Authorization: Bearer qb_123_..." -F [email protected]
   -> 200 {"text": "Hello, there.", "duration": 2.0,
           "words": [{"text": "Hello,", "start": 0.43, "end": 0.88, "speaker": "speaker_0"}, ...],
           "cost_usd": 0.000178, "balance_usd": 9.999822,
           "timings": {"transcribe": 1.2, "align": 0.9, "total": 2.1}}

   Any common audio or video format works. Times are in seconds.

4. Or align a transcript you already have

   curl https://quebec.yarn.so/align -H "Authorization: Bearer qb_123_..." -F [email protected] \
     -F text="Hello, there."
   -> 2
jasperstory8210

Interpretation history

Decision trace