Speaker Diarization
Figuring out who spoke when in a recording so transcripts preserve conversational structure instead of collapsing everyone together.
Follow the handoff between two speakers
Consider these fictional annotations from a meeting. The labels identify voices within this recording.
- 0.0–1.4 s · Speaker A
- A asks whether the room is free.
- 1.4–1.8 s · Speakers A and B
- B starts answering before A finishes. Both voices occupy this interval.
- 1.8–3.0 s · Speaker B
- B finishes the answer alone. The anonymous label carries forward from the overlapping interval.
What the timeline tells an editor
The time spans can help place speaker labels beside a transcript. Assigning a real person’s name needs additional evidence. If an editor attributes B’s reply to A, correct the speaker boundary or identity assignment even when every transcribed word is accurate.
How It Works
Diarization systems analyze timing, acoustic features, and turn-taking patterns to segment the conversation and group speech by speaker. In practice, diarization often runs alongside automatic speech recognition so the final output can show both the words and the speaker boundaries.
Follow the idea
Automatic Speech Recognition (ASR) · Speech recognition supplies the words that can be aligned with these turns.
Source separation estimates separate waveforms when voices overlap.
Related concepts
Examples in the AI guides
Related Yenra articles (2)
Source · pyannote.audio’s diarization documentation
Return to Speaker Diarization in the A–Z glossary