Skip to content
Boris DupouxFrançais Menu

Applied Research09 / 14

From Multitrack Recordings to an Editable Timeline

A pipeline that turns multitrack conference recordings into a speaker-labelled transcript and a pre-cut AAF timeline that professional audio editors open natively.

Evidence level In production

  1. Concept or simulation
  2. Prototype
  3. Field or pilot
  4. In production

in production · measured on one conference · pseudo-reference

Multitrack before/after: 16 input tracks coloured by role, and the generated edit, one line per track Move the playhead
The edit read off the image: at every instant, the track the pipeline kept lights up, in the generated edit and among the 16 input tracks. One microphone at a time; the 10 silent tracks are never chosen.

Transcription and diarisation of a multitrack conference can be delivered as a pre-cut AAF timeline that the editor opens directly in their software.

Key figures

clips in the generated timeline
41
no manual cut
hard cuts between sources
40
silent tracks left out automatically
10 / 16
word divergence between pipelines
7–11 %
pseudo-reference

Abstract

A conference recorded on several microphones produces hours of raw audio, and open-source speech tools stop at text. I wanted to hand the editor an editing object: a multitrack AAF timeline, tracks qualified, one microphone kept at a time, dead time removed. On a real 16-track conference, the timeline came out with no manual cut; the comparison with a human edit is still to be done.

Key notions

  • pre-cut AAF timeline
  • automatic multitrack montage
  • track role detection
  • speaker diarisation
  • originals stay local

Where it started

A Martinique audio studio, which produces podcasts and recordings for research, described its editor’s daily routine to me. A conference captured on 16 microphones means 16 tracks of more than an hour and a half each, close to 25 hours of audio, and before editing anything you have to work out who is speaking, on which track, at what moment. That is where the editor’s time went, listening track after track. Open-source speech recognition tools can transcribe all of it, but they stop at text, and a timestamped text does not sit on a timeline.

So I decided to deliver the editing session itself, already cut. The editor opens it in the workstation: the clips sit on their original tracks, the silent microphones are empty, and the editing can begin.

What I built

flowchart LR
    A["Multitrack recording"] --> B["Voice activity detection"]
    B --> C["Transcription + word alignment"]
    B --> D["Speaker diarisation"]
    C --> E["Speaker-labelled transcript"]
    D --> E
    A --> F["Track roles: speech · music · silent"]
    E --> F
    F --> G["Montage: one source at a time"]
    G --> H["AAF timeline"]
    G --> I["Mono mixdown"]

The pipeline detects speech on each track, transcribes it with Whisper, aligns the words one by one and attributes each segment to a speaker. In parallel, each track is given a role, speech, music or silent, from the signal energy, the voice activity and a few transcript statistics. Silent tracks stay empty and their spurious transcripts never reach the edit.

The montage then picks, over time, which source to keep. One microphone at a time; cross-talk between neighbouring microphones is held in check, switches that come too fast are smoothed out and dead time is removed. The edit list is written as a multitrack AAF, the format that digital audio workstations open natively, with the clips already placed on their source tracks, and a mono mixdown comes out alongside. The AAF references the original file names: the editor relinks the sources locally, at full quality.

A 16-track conference, before and after

A real job from the studio, processed end to end: a conference recorded on 16 tracks. The whole right-hand column was produced automatically; I read the figures from the job’s analysis database and from the delivered AAF.

Input (raw recording)Generated output (AAF timeline)
Tracks16 × 1 h 32 min 54 s (≈ 24 h 46 min of audio); 10 near-digital silence, 6 carrying signal (≈ 9 h 17 min)16 tracks kept in the AAF, 6 carrying clips
Track roles4 speech · 2 music (one auto-flagged as ambience) · 10 silent10 silent tracks left empty, no manual triage
Material204 speech regions and 5 music passages detected41 clips (37 speech, 4 music)
Cuts—40 hard cuts between sources, of which 33 microphone switches
Transitions—straight cuts, no crossfades
Dead time—head/tail trimmed and one internal 16 s gap removed (36.9 s total); timeline 1 h 32 min 17 s
Multitrack before/after: 16 input tracks coloured by role over time, and the generated edit showing which track is kept per segment, with source switches marked

Top: the 16 input tracks, coloured by detected role; hatched areas are removed dead time. Bottom: the generated edit, one lane per track; ticks mark the 40 source switches.

What the numbers say

The studio validated the delivered AAF timeline, and the pipeline is in production. Speech clips are few and long, a median of 79 s and 10 min 11 s for the longest: the montage stays on a speaker for as long as they talk. The ten clips under 6 s, mostly interjections, are the first place the editor needs to look.

In their raw transcripts, the ten silent tracks produced the hallucinations typical of Whisper; the track classification kept every one of them out of the edit. On another recording, with seven tracks, the three music or silent tracks were identified and set aside the same way, with no intervention.

What it is worth, and what is missing

The published measurements rest on a single conference (n = 1), in which 10 of the 16 tracks were silent: the montage therefore chose among four speech microphones, and I have not compared it with a human edit.

Transcript quality is measured as a divergence from a pseudo-reference, the WhisperX output. It is not a word error rate, and I still need a hand-transcribed test set to get one. The benchmark clips are also short and single-speaker: diarisation on overlapping speech is not quantified.

Technical details

The speed benchmark was run on a second recording, with seven tracks (the 16-track conference was not used here): one-minute speech windows on four speech tracks, the Whisper large model throughout, an Apple Silicon laptop on CPU, warm timings without model loading, a single run, and each pipeline’s own decoding settings.

Pipeline (CPU)Real-time factor
openai-whisper0.43
WhisperX0.51
WhisperX + forced alignment0.54
openai-whisper + word timestamps0.57
faster-whisper (with VAD)0.66
faster-whisper + word timestamps0.70

Native word timestamps deviate from forced alignment by a median of about 205 ms with faster-whisper and 210 ms with openai-whisper; forced alignment adds about 1.2 s per minute of audio. The 7 to 11 % word divergence ignores case and punctuation; on manual inspection it comes mostly from word segmentation, the spelling of proper names and edge effects at the clip boundaries. Repeated content runs from 1.1 to 2.4 %, with no hallucinated passage on these clips.

Stack

Python · Whisper · WhisperX · faster-whisper · pyannote.audio · Silero VAD · PyTorch · ffmpeg · pyaaf2 · SQLite

Topics

Licensed under CC BY 4.0

How to cite

Boris Dupoux. (2025). From Multitrack Recordings to an Editable Timeline. borisdupoux.com. https://borisdupoux.com/research/speech-to-edit/

Related content

Back to Applied ResearchPreviousField Identification of Recall-Affected Vehicles

Next project Geolocated Video Analysis and Inter-Object Distance Measurement A monocular pipeline that turns fixed-camera and aerial video into GPS-referenced object detections, tracks and metric distances, combining an object detector and a metric monocular depth model at native resolution.

Menu

SearchFrançais

Email meLinkedInInstagram