Olign Aligns Recordings of Nearly Three Hours as Precisely as Ten-Minute Ones

Product

Olign Aligns Recordings of Nearly Three Hours as Precisely as Ten-Minute Ones

Olign 1.2 aligns recordings of nearly three hours as precisely as ten-minute ones, so a whole filmed interview or a full therapy session goes in as one file. On the longest files, the mean word timing error fell from 122 ms to 23 ms.

Olign Aligns Recordings of Nearly Three Hours as Precisely as Ten-Minute Ones

Olign · olign on PyPI

Olign 1.2 now aligns a recording of nearly three hours as precisely as a ten-minute one. The update, Olign 1.2.2, is live today.

Long recordings are everyday work in video editing and in medicine. A filmed interview or a podcast episode can run for hours, and a therapy session or a clinical interview often runs an hour or more. Send the whole file with its transcript, and every word comes back with its start and end time. You no longer need to cut your audio into short clips first.

On the longest files, up to 2.95 hours, the mean word timing error fell from 122 ms in Olign 1.2.1 to 23 ms in 1.2.2. Word timestamp F1 at 20 ms is 0.775 on single interview tracks and on the longest files alike. Every Olign job runs on 1.2.2 today, and the API is unchanged.

Mean word timing error by recording length
Buckeye interviews, aligned with their transcripts. Lower is better.
Single tracks Olign 1.2.1, 92 ms Olign 1.2.2, 23 ms
One-hour files Olign 1.2.1, 68 ms Olign 1.2.2, 26 ms
Longest files Olign 1.2.1, 122 ms Olign 1.2.2, 23 ms

Video editing and medical recordings

Video editing

An editor often has the transcript before the cut begins, and the footage can run for hours. With every word timed, you can cut the video by editing its text and find a quote by searching for it. Olign writes SRT subtitles, and WebVTT subtitles that highlight each word as it is said. With audible word edges, each word starts and ends where a listener hears it, the timing that subtitles and dubbing need.

Medical recordings

A therapy session or a clinical interview is often transcribed for the record. Word timestamps tie each line of that transcript to the moment it was said, so a reviewer can check a passage by playing just that stretch of audio. Researchers who study speech in clinical settings can also measure word timing and the pauses between words, and Olign returns both for the whole session in one job.

The same precision at every length

FA-Bench scored Olign 1.2.1 and 1.2.2 on a new long-form test that uses the same kind of audio. Its files are conversational English from the Buckeye corpus, the interviews of the 8 speakers in FA-Bench's Buckeye test set. Each file goes to Olign whole, with its full transcript. The test has three sets of files.

  • Single tracks. The 49 interview tracks, each sent as it is. They run 2.4 to 10.2 minutes, and the median is 9.5 minutes.
  • One-hour files. Each speaker's tracks joined end to end. That gives 8 files of 42.7 to 62.6 minutes.
  • Longest files. The one-hour files joined the same way. Three speakers' hours make a file of 2.80 hours, and three more make one of 2.95 hours. The last two speakers make a file of 1.65 hours.

Word timestamp F1 at 20 ms. Higher is better.

Files Olign 1.2.1 Olign 1.2.2
Single tracks, 2.4 to 10.2 min 0.760 0.775
One-hour files, 42.7 to 62.6 min 0.759 0.774
Longest files, 1.65 to 2.95 h 0.760 0.775

Mean timing error. Lower is better.

Files Olign 1.2.1 Olign 1.2.2
Single tracks, 2.4 to 10.2 min 92 ms 23 ms
One-hour files, 42.7 to 62.6 min 68 ms 26 ms
Longest files, 1.65 to 2.95 h 122 ms 23 ms

On Olign 1.2.2, F1 is 0.774 or 0.775 at every length, and the mean timing error is 23 to 26 ms. The longest files come back as precisely as single tracks.

Against 1.2.1, F1 rose by 0.015 at every length. The mean timing error fell from 92 ms to 23 ms on single tracks, from 68 ms to 26 ms on one-hour files, and from 122 ms to 23 ms on the longest files.

Earlier releases could miss speech next to a long silence. A run of words could then land far from where it was said. Olign 1.2.2 keeps its place through long silences, so those words now land where they were said, at every length we tested.

Whole recordings and pre-cut clips

FA-Bench's standard test gives Olign the same speech already cut into its 4,513 short utterances. It scored Olign 1.1.3 there, on the same word edges with the same scorer.

What Olign was given F1 within 20 ms Mean timing error
The same speech, cut into utterances first (Olign 1.1.3) 0.775 16.1 ms
Single interview tracks, sent whole (Olign 1.2.2) 0.775 23 ms

F1 at 20 ms is 0.775 either way. The mean timing error is about 7 ms higher on whole tracks. About 4 ms of that gap comes from a few word edges that land more than a second off, 0.16% of all word edges. The rest comes from words near the start and end of the test utterances.

Why long-form timing is important and hard

Timing errors show in the finished work. A subtitle that appears a second early shows words before anyone says them. A cut placed by a wrong timestamp clips the end of a word. A reviewer who jumps to a passage in a session transcript hears the wrong stretch of audio, and a study of pauses measures the wrong pause lengths.

Long recordings make these errors more likely. An aligner has to place thousands of words in hours of audio, and the recording holds more than its transcript, such as speech nobody transcribed and long stretches of silence. If the aligner loses its place in one of those stretches, the run of words after it can land far from where it was said.

Many forced aligners expect short utterances. The documentation of the open-source Montreal Forced Aligner (Montreal-FA), read on November 25, 2026, says audio segments "should be less than 30 seconds for best performance". A long file goes in with a TextGrid that marks short intervals of speech, or is cut first with its mfa segment command, which finds the speech with voice activity detection. Either way the recording is cut before any word is timed, and every cut is a timing decision of its own.

Montreal-FA on whole long files

On FA-Bench's standard Buckeye test, where the speech arrives already cut into short utterances, Montreal-FA 3.4 has a word timestamp F1 at 20 ms of 0.706 and a mean timing error of 19.7 ms, measured the same way as the Olign figures in this post. The 21.3 ms on the board is its word boundary error, which counts each boundary once.

FA-Bench also ran Montreal-FA 3.4, with its english_us_arpa model and dictionary v3.0.0, on the long-form files at two beam widths. The beam sets how widely Montreal-FA searches for where each word falls. The default beam is the setup on the FA-Bench board, and the wide beam is a Montreal-FA option with a much wider search. Each file went in whole with its full transcript, the same input Olign gets. Montreal-FA's documentation recommends cutting long files first, and these runs did not.

In both tables the last column is the share of timestamps more than 1 s off.

Montreal-FA at the wide beam. Montreal-FA 3.4, english_us_arpa model and dictionary v3.0.0, beam 400 and retry beam 4000, whole file with its full transcript.

Files F1 at 20 ms Mean error Over 1 s
Single tracks 0.694 64.1 ms 0.87%
One-hour files 0.694 64.3 ms 0.87%
2.80 h file 0.658 119.5 ms 1.53%
2.95 h file 0.702 54.9 ms 0.90%
1.65 h file 0.713 38.0 ms 0.48%

Montreal-FA at the default beam. Montreal-FA 3.4, english_us_arpa model and dictionary v3.0.0, default beam, whole file with its full transcript. The first row is FA-Bench's standard test, where the same speech is cut into utterances first.

Files F1 at 20 ms Mean error Over 1 s
Pre-cut 0.706 19.7 ms 0.00%
Single tracks 0.638 480.3 ms 7.53%
One-hour files 0.682 201.0 ms 2.24%
2.80 h file no alignment
2.95 h file 0.694 118.2 ms 2.00%
1.65 h file 0.713 40.3 ms 0.51%

Every file aligned at the wide beam. At the default beam the 2.80-hour file came back with no alignment, so both tables show the longest files one by one.

At its default beam, Montreal-FA keeps any path that reaches the end of a file, right or wrong. It searches again at a wider beam only when no path gets that far. So some single tracks of about 9.5 minutes lose their place. The wide beam removes that loss at every length. Montreal-FA also varies a little from run to run, and a second run at the default beam gave 445.8 ms on single tracks.

How we measured

The one-hour files and the longest files are single tracks joined end to end. Where two recording sessions meet, there is half a second of digital silence. The corpus does not transcribe the interviewer, so in every file the interviewer's speech is muted to digital silence, with 10 ms fades. So are the few words that FA-Bench's standard test leaves out. No transcribed word is touched. In interview recordings the interviewer is usually on another channel, so it makes sense to test with silence in their place.

Every set is scored on the same 4,513 test utterances. They are the ones FA-Bench scores in its standard test, where the speech arrives cut into short utterances.

Word timestamp F1 at 20 ms is the share of word start and end times that land within 20 ms of the hand labels, with precision and recall combined. Higher is better.

Mean timing error, or word timestamp MAE, is the average distance of each matched word's start and end from the hand-labelled time, in milliseconds. A boundary that two words share counts once for each word. Lower is better. It is a different measure from the word boundary error in our Olign 1.1 post, which counts each boundary once.

Olewave makes both FA-Bench and Olign, so this post ranks no systems. The Montreal-FA numbers are FA-Bench's own runs. FA-Bench is preparing the long-form test as a fully documented benchmark.

Available now

Olign 1.2.2 is live for every Olign job. You reach it through the Olign API at api.olewave.com/olign/v1 or the olign Python package, version 1.2.2 on PyPI. There is nothing to switch on, and your existing requests keep working.

Align a long recording

Install the package and put your API key in OLIGN_KEY.

pip install olign
export OLIGN_KEY=gvk_your_key

One line sends a whole recording with its transcript and writes a Praat TextGrid with a words and a pauses tier.

olign align interview.mp3 --transcript interview.txt --textgrid

For subtitles, ask for WebVTT with audible word edges.

olign align interview.mp3 --transcript interview.txt --vtt --word-edges audible

In Python, olign.Client sends the job and waits until the words are ready.

from pathlib import Path

import olign

client = olign.Client()  # reads OLIGN_KEY
result = client.align("interview.mp3", transcript=Path("interview.txt"))

print(len(result.words), "words aligned")
result.to_textgrid("interview.TextGrid")
result.to_srt("interview.srt")

One job takes up to 3 hours of audio, in a file of up to 100 MB.

Next steps