diff --git a/crates/ec-vorbis/src/encode.rs b/crates/ec-vorbis/src/encode.rs index f09a4038..6ccb4358 100644 --- a/crates/ec-vorbis/src/encode.rs +++ b/crates/ec-vorbis/src/encode.rs @@ -110,7 +110,7 @@ const MASKING_OFFSET_DB: f64 = 9.0; /// r2). 0 = pure envelope (E1, too low → clamp-lift saturation); the gap between /// mean dB and peak dB in a typical long-block region is 15–25 dB, so 12 sits /// halfway and keeps the loudest bin within the residue-book range. -const ENVELOPE_MARGIN_DB: f64 = 12.0; +const ENVELOPE_MARGIN_DB: f64 = 6.0; /// All-zero partition guard: if the masked band still has a bin within this /// fraction of the floor, keep that bin as one sign-only residue sample. const NOISE_NORMALISE_MIN_RATIO: f32 = 0.5; diff --git a/lanes/vorbis-psy-r1.sweep.txt b/lanes/vorbis-psy-r1.sweep.txt index 7d313cfd..6e29381d 100644 --- a/lanes/vorbis-psy-r1.sweep.txt +++ b/lanes/vorbis-psy-r1.sweep.txt @@ -1,9 +1,9 @@ source kbps ours_kbps ref_kbps rate% corr_ours corr_ref gap verdict -nik 96 83.6 84.5 -1.07 0.7840 0.9903 0.2063 FAIL -nik 128 114.7 115.8 -0.88 0.8661 0.9951 0.1290 FAIL -her 96 92.3 89.9 +2.68 0.7755 0.9867 0.2112 FAIL -her 128 125.2 124.9 +0.21 0.8650 0.9927 0.1277 FAIL -reell 96 85.1 85.5 -0.42 0.8553 0.9923 0.1371 FAIL -reell 128 121.6 120.9 +0.62 0.9472 0.9968 0.0496 FAIL -dl8a 96 86.2 86.9 -0.81 0.8478 0.9916 0.1439 FAIL -dl8a 128 117.5 117.8 -0.26 0.9177 0.9957 0.0780 FAIL +nik 96 83.6 84.5 -1.11 0.7706 0.9903 0.2197 FAIL +nik 128 114.1 115.8 -1.45 0.8434 0.9951 0.1517 FAIL +her 96 87.3 89.9 -2.80 0.7320 0.9867 0.2547 FAIL +her 128 119.9 124.9 -4.04 0.8235 0.9927 0.1692 FAIL +reell 96 84.9 85.5 -0.66 0.8176 0.9923 0.1747 FAIL +reell 128 120.8 120.9 -0.01 0.9127 0.9968 0.0841 FAIL +dl8a 96 85.9 86.9 -1.18 0.8241 0.9916 0.1675 FAIL +dl8a 128 116.5 117.8 -1.12 0.8922 0.9957 0.1035 FAIL