Skip to content

Conversation

@flexiondotorg
Copy link
Contributor

  • Propagate NormalisationResult into report generation and pass to noise-floor and speech-region tables
  • Compute effective normalisation gain (dB) and enable gain-normalise mode when available
  • Compensate final spectral metrics (mean, variance, flux, slope) by dividing out applied gain using scaling power per-metric
  • Add normaliseForGain helper to internal/logging/table.go
  • Add tests for normaliseForGain and for table output:
    • verify † markers and footnote appear when normalisation present
    • verify no markers/footnote when normalisation absent

Impact: final spectral metrics in reports are now gain-normalised for reliable cross-stage comparisons; reports include a † marker and a footnote showing the effective gain when applied.

- Propagate NormalisationResult into report generation and pass to
  noise-floor and speech-region tables
- Compute effective normalisation gain (dB) and enable gain-normalise
  mode when available
- Compensate final spectral metrics (mean, variance, flux, slope)
  by dividing out applied gain using scaling power per-metric
- Add normaliseForGain helper to internal/logging/table.go
- Add tests for normaliseForGain and for table output:
  - verify † markers and footnote appear when normalisation present
  - verify no markers/footnote when normalisation absent

Impact: final spectral metrics in reports are now gain-normalised
for reliable cross-stage comparisons; reports include a † marker and
a footnote showing the effective gain when applied.

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 3 files

Confidence score: 5/5

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

@flexiondotorg flexiondotorg merged commit 6d5e4ba into main Feb 6, 2026
5 checks passed
@flexiondotorg flexiondotorg deleted the gain-metrics branch February 6, 2026 16:53
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