Skip to content

fix(audio): prevent right-only input from triggering silence gate - #484

Closed
saiedhosni wants to merge 1 commit into
ronitsingh10:mainfrom
saiedhosni:fix/right-channel-silence-detection
Closed

saiedhosni wants to merge 1 commit into
ronitsingh10:mainfrom
saiedhosni:fix/right-channel-silence-detection

Conversation

@saiedhosni

Copy link
Copy Markdown

Problem

When stereo input contains signal only on the right channel, FineTune samples only channel 0 for its peak/silence decision. The output gate can then treat audible input as silence and mute it after 200 ms.

Change

Scan every Float sample in every input buffer using an allocation-free, real-time-safe helper. Preserve the existing frame-count calculation and unity peak clamp. Add regression coverage for left=0/right=0.5 stereo input and peak clamping.

Validation

  • Full local unit suite: 760 tests passed, zero failures.
  • Universal Release build succeeded (arm64 and x86_64).
  • Installed locally on macOS; the affected user confirmed the right-channel dropout is fixed.

Related upstream reports: #429 and #479. This addresses the same peak-scanning problem as #479.

@saiedhosni saiedhosni closed this Nov 3, 2026
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