Skip to content

feat(logging): make recording tips speech-aware and refine rules#31

Merged
flexiondotorg merged 1 commit intomainfrom
fix-tips
Feb 6, 2026
Merged

feat(logging): make recording tips speech-aware and refine rules#31
flexiondotorg merged 1 commit intomainfrom
fix-tips

Conversation

@flexiondotorg
Copy link
Contributor

  • Use SpeechProfile.RMSLevel when available for level_too_quiet and level_quiet
    checks; fall back to InputI-based LUFS thresholds when no speech profile exists.
  • Set speech gain target to -24 dBFS (speech RMS) and keep -18 LUFS for InputI
    fallback; compute and surface suggested gain dynamically.
  • Expand mutual-exclusion logic so clipping (level_clipping) and near-clipping
    (level_near_clipping) suppress quiet tips to avoid confusing recommendations.
  • Simplify dynamic-range tip to trigger only when InputLRA > 18 LU.
  • Update and extend tests (internal/logging/recording_tips_test.go) to cover
    speech-aware paths and mutual-exclusion scenarios.

- Use SpeechProfile.RMSLevel when available for level_too_quiet and
level_quiet
  checks; fall back to InputI-based LUFS thresholds when no speech
profile exists.
- Set speech gain target to -24 dBFS (speech RMS) and keep -18 LUFS for
InputI
  fallback; compute and surface suggested gain dynamically.
- Expand mutual-exclusion logic so clipping (level_clipping) and
near-clipping
  (level_near_clipping) suppress quiet tips to avoid confusing
recommendations.
- Simplify dynamic-range tip to trigger only when InputLRA > 18 LU.
- Update and extend tests (internal/logging/recording_tips_test.go) to
cover
  speech-aware paths and mutual-exclusion scenarios.

Signed-off-by: Martin Wimpress <martin@wimpress.org>
Copy link
Contributor

@cubic-dev-ai cubic-dev-ai bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No issues found across 2 files

Confidence score: 5/5

  • Automated review surfaced no issues in the provided summaries.
  • No files require special attention.

@flexiondotorg flexiondotorg merged commit 581cc26 into main Feb 6, 2026
5 checks passed
@flexiondotorg flexiondotorg deleted the fix-tips branch February 6, 2026 15:10
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