Skip to content

fix(audio): reduce live transcription fragmentation - #711

Open
Bbrizly wants to merge 3 commits into
Zackriya-Solutions:mainfrom
Bbrizly:fix/live-vad-fragmentation
Open

fix(audio): reduce live transcription fragmentation#711
Bbrizly wants to merge 3 commits into
Zackriya-Solutions:mainfrom
Bbrizly:fix/live-vad-fragmentation

Conversation

@Bbrizly

@Bbrizly Bbrizly commented Aug 12, 2026

Copy link
Copy Markdown

Description

The live pipeline was still using a 400ms VAD redemption time:

let redemption_time = if cfg!(target_os = "macos") { 400 } else { 400 };

That can split speech at normal pauses and send Parakeet short chunks with very little context.

vad.rs already documents this problem and has a test comparing 400ms vs 2000ms. This PR changes the live pipeline to use 2000ms as well.

I found this after comparing Meetily's live Parakeet transcript with Parakeet run directly on Meetily's saved recording. The saved audio transcribed much better, while the live transcript was broken into short fragments.

Related Issue

Related: #171, #604, #657, #578

I couldn't find an existing issue for this exact 400ms VAD setting.

Type of Change

  • Bug fix
  • New feature
  • Documentation update
  • Performance improvement
  • Code refactoring
  • Other (please describe)

Testing

  • Unit tests added/updated
  • Manual testing performed
  • All tests pass

There is already a test_vad_400ms_vs_2000ms_segmentation() test in vad.rs.

Documentation

  • Documentation updated
  • No documentation needed

Checklist

  • Code follows project style
  • Self-reviewed the code
  • Added comments for complex code
  • Updated README if needed
  • Branch is up to date with devtest
  • No merge conflicts

Screenshots (if applicable)

N/A

Additional Notes

This only changes the live VAD redemption time from 400ms to 2000ms.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants