Skip to content

Fix unusualy silent references handling - #7

Merged
benITo47 merged 2 commits into
mainfrom
@is/quiet-reference-boost
Nov 18, 2026
Merged

benITo47 merged 2 commits into
mainfrom
@is/quiet-reference-boost

Conversation

@IgorSwat

Copy link
Copy Markdown
Collaborator

This PR adds a simple rule which increases the loudness (before the reference encoding / cloning stage) for any unusually silent reference samples (below -40dBFS).

This fixes a bug of trimming entire chunks of samples generated with such references due to trim_silence postprocessing.

IgorSwat and others added 2 commits November 18, 2026 19:48
raise_quiet sets its gain by RMS alone, so a quiet reference with a loud click came out
with peaks far past 1 (up to 3.35 among CV3's references), outside the range the codec was
trained on. The gain now stops where the peak reaches PEAK (0.99). On the benchmark's
references every raised one still ends above -40 dBFS, and the 24 takes that the quiet
references had cut short come out the same or better.
@benITo47
benITo47 merged commit a610047 into main Nov 18, 2026
2 checks 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.

2 participants