Options
mergeGapMs is the one to tune. Natural speech has pauses inside a turn, and without merging
you get one speaker fragmented into a dozen segments.
Diarization inside transcription
For a transcript labelled by speaker rather than a separate segment list, ask the STT namespace instead:Splitting a recording
Desktop is the platform where this is worth doing, because you can write the output straight to disk:Knowing the speaker count helps
maxSpeakers on the STT path, and a sensible threshold here, both improve accuracy a lot when
you know how many people are in the room. Diarization over-segments when left to guess.
Electron has no streaming diarizer. Diarize a completed recording, or use the STT path with
diarization: true for live labelling.