Skip to content

fix: tune iOS VAD thresholds to reduce keyboard noise sensitivity#401

Merged
rogerchappel merged 2 commits into
mainfrom
fix/vad-sensitivity-adjust
May 11, 2026
Merged

fix: tune iOS VAD thresholds to reduce keyboard noise sensitivity#401
rogerchappel merged 2 commits into
mainfrom
fix/vad-sensitivity-adjust

Conversation

@rogerchappel
Copy link
Copy Markdown
Owner

Tune VAD thresholds to balance quiet-speech detection with keyboard-noise rejection:

  • silenceThreshold: 0.0025 → 0.005
  • speechStartMs: 80ms → 100ms

The 0.0025 threshold was too sensitive — picking up keystrokes and background noise. The previous 0.009 was too high, missing quiet speech. 0.005 is the middle ground.

Also updates test assertions to match the new values.

…nerator

The generator already uses improved VAD thresholds (0.0025) and format
handling, but the test assertions were stale:
- silenceThreshold: 0.009 → 0.0025
- speechStartMs: 140.0 → 80.0
- silenceEndMs: 900.0 → 700.0
- minRecordingMs: 300.0 → 250.0

Also unignore iOS/App/App/*.swift so the generated plugin source is
tracked by git.
Bump silenceThreshold from 0.0025 to 0.005 and speechStartMs from 80ms
to 100ms to better filter out keystroke noise while still catching quiet speech.

All test assertions updated to match the new values.
@rogerchappel rogerchappel merged commit 639326d into main May 11, 2026
1 check passed
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.

1 participant