forge
Explore
Log in

Don't you dare go Hollow

Merge branch 'lane-opustr2' (eee09948): the CVBR tf boost as a swept term (no point keeps), libopus 1.6 tf probe

Browse files at this commit

5811863fc26c6b846765feb3a705ca417c4068daAhmet Kaan GümüşParent: 74d59b2d1d2929
Twelve gate runs over k/offset/gating: the nearest miss (k=1.25) beats
libopus on 10 of 12 rows and loses her@96 by 0.021, so the default term
is unchanged. The reell tf_select tie is not a tf bug: against a
libopus-linked probe on the same PCM the first differing quantity is the
CELT spectrum itself (sum|X| 55.3 vs 46.2 on the attack frame).
crates/ec-opus/src/celt_enc.rsmodified+58 -5
@@ -43,6 +43,22 @@ use crate::celt::{
43 };43 };
44 use crate::range::RangeEncoder;44 use crate::range::RangeEncoder;
45 45
46+/// TF-boost sweep knobs (lane opustr2): `k * (tf_estimate - off) * target`,
47+/// optionally applied only on frames the transient analysis flagged (other
48+/// frames keep the shipped k=1). Read once from the environment;
49+/// `EC_OPUS_TF_K` / `EC_OPUS_TF_OFF` / `EC_OPUS_TF_GATE=transient` /
50+/// `EC_OPUS_TF_THRESH` (k applies only from that `tf_estimate` up).
51+fn tf_boost_params() -> (f32, f32, bool, f32) {
52+ static P: std::sync::OnceLock<(f32, f32, bool, f32)> = std::sync::OnceLock::new();
53+ *P.get_or_init(|| {
54+ let f = |name: &str, dflt: f32| {
55+ std::env::var(name).ok().and_then(|v| v.parse().ok()).unwrap_or(dflt)
56+ };
57+ let gate = std::env::var("EC_OPUS_TF_GATE").map(|v| v == "transient").unwrap_or(false);
58+ (f("EC_OPUS_TF_K", 1.0), f("EC_OPUS_TF_OFF", 0.044), gate, f("EC_OPUS_TF_THRESH", 0.0))
59+ })
60+}
61+
46 const CACHE_BITS: &[u8] = &crate::celt::CACHE_BITS;62 const CACHE_BITS: &[u8] = &crate::celt::CACHE_BITS;
47 const INV_TABLE: [u8; 128] = [63 const INV_TABLE: [u8; 128] = [
48 255,255,156,110, 86, 70, 59, 51, 45, 40, 37, 33, 31, 28, 26, 25,64 255,255,156,110, 86, 70, 59, 51, 45, 40, 37, 33, 31, 28, 26, 25,
@@ -897,11 +913,41 @@ impl CeltEncoder {
897 // hein@64 and .0014 on hein@96 and pushes 5 err_ratio rows the913 // hein@64 and .0014 on hein@96 and pushes 5 err_ratio rows the
898 // wrong way, so the x1 stand-in stays. The reelm rows that carried914 // wrong way, so the x1 stand-in stays. The reelm rows that carried
899 // the first rejection are gone; hein reproduced it exactly.915 // the first rejection are gone; hein reproduced it exactly.
900- // It is nonetheless the only lever measured to move the reell rows:916+ // SWEPT WHOLE (lane opustr2, 12 detached gate runs, r1 = this
901- // with it, reell@64 goes 2.697 -> 1.764 and reell@96 4.499 -> 2.114917+ // default reproducing the base rows exactly; the gate is
902- // (`lanes/opus-opustr-r2.sweep.txt`). Upgrade path: gate the x2 on918+ // deterministic, so every delta below is real, not run noise).
903- // content -- it pays on music transients and starves hein's speech.919+ // err_ratio deltas vs r1, worst rows only:
904- target += ((tf_estimate - 0.044) * target as f32) as i32;920+ // k=2 off=.04 her@96 +.021 hein@96 +.067, hein corr
921+ // -.0024 (r2)
922+ // k=1.5 off=.04/.06/.08 reelo@96 +.09 her@96 +.019, hein corr
923+ // -.0012 -- the offset is inert (r3,7,6)
924+ // k=2 off=.04 transient reelo@96 +.095 dl8a@96 +.040 (r4)
925+ // k=1.5 off=.04 transient hein@64 +.026 her@96 +.020 (r5)
926+ // k=2 tfe>=.6 / >=.35 nik@96 +.042/+.060 hein@96 +.075 (r9,10)
927+ // k=1.25 tfe>=.6 / >=.35 hein@64 +.090 / dl8a@96 +.065 (r11,12)
928+ // k=1.25 off=.044 her@64 +.001 her@96 +.021 ONLY, corr
929+ // worst -.0005 (hein@64), and reell@64
930+ // 2.697->1.440, reell@96 4.499->2.516,
931+ // hein@64 .853->.302, nik@64 .708->.643,
932+ // dl8a@96 .374->.315 (r8)
933+ // r8 is the nearest miss ever measured on this term and still
934+ // fails the keep rule on her@96, so the x1 stand-in stays. Every
935+ // variant that moves reell also costs her@96 ~+.02, and the reell gain
936+ // comes entirely from frames with tf_estimate >= 0.6 (r11 keeps the
937+ // full reell win) -- so her@96's loss lives on the same frames and
938+ // no content gate built from `tf_estimate` or the transient flag
939+ // can separate them. Upgrade path: libopus gates this boost with
940+ // its tonality analysis (`analysis->valid`, music_prob), which this
941+ // encoder does not run at all. Sweeps: lanes/opus-opustr2-r*.sweep.txt.
942+ // SWEPT (lane opustr2): k/offset/gate come from `tf_boost_params()`;
943+ // the defaults (k=1, off=.044, gate=all) are the shipped point and
944+ // reproduce the line above byte for byte.
945+ {
946+ let (k, off, gate_transient, thresh) = tf_boost_params();
947+ let fires = (!gate_transient || is_transient) && tf_estimate >= thresh;
948+ let k_eff = if fires { k } else { 1.0 };
949+ target += (k_eff * (tf_estimate - off) * target as f32) as i32;
950+ }
905 // floor depth cap (C:1683-1695): SHR32/MULT16_32_Q15 are identity.951 // floor depth cap (C:1683-1695): SHR32/MULT16_32_Q15 are identity.
906 {952 {
907 let bins = E_BANDS[NB_BANDS - 2] << lm;953 let bins = E_BANDS[NB_BANDS - 2] << lm;
@@ -1848,6 +1894,13 @@ impl CeltEncoder {
1848 tf_select = 1;1894 tf_select = 1;
1849 }1895 }
1850 if std::env::var_os("EC_OPUS_TF_DEBUG").is_some() {1896 if std::env::var_os("EC_OPUS_TF_DEBUG").is_some() {
1897+ let fp: f32 = self.x[tf_chan * n..tf_chan * n + (E_BANDS[len] << lm)]
1898+ .iter()
1899+ .map(|v| v.abs())
1900+ .sum();
1901+ let ble: Vec<String> =
1902+ self.band_log_e[..8].iter().map(|v| format!("{v:.3}")).collect();
1903+ eprint!("BLE {} | FP {fp:.6} ", ble.join(" "));
1851 eprintln!(1904 eprintln!(
1852 "tf: trans {is_transient} lm {lm} tfe {tf_estimate:.4} bias {bias:.5} \1905 "tf: trans {is_transient} lm {lm} tfe {tf_estimate:.4} bias {bias:.5} \
1853 lambda {lambda} sel {tf_select} selcost {selcost:?} metric {:?} imp {:?}",1906 lambda {lambda} sel {tf_select} selcost {selcost:?} metric {:?} imp {:?}",
lanes/opus-gate-r1.sweep.txtmodified+12 -14
@@ -1,17 +1,15 @@
1 # ec-opus encoder vs ffmpeg libopus — encoders-only gate (r1)1 # ec-opus encoder vs ffmpeg libopus — encoders-only gate (r1)
2 # both bitstreams decoded by ec-opus; 120s cap; VBR; 48kHz stereo2 # both bitstreams decoded by ec-opus; 120s cap; VBR; 48kHz stereo
3 # source kbps ours_kbps ref_kbps rate% corr_ours corr_ref gap Q_ours Q_ref err_ratio minsec_ours minsec_ref drop_ours drop_ref3 # source kbps ours_kbps ref_kbps rate% corr_ours corr_ref gap Q_ours Q_ref err_ratio minsec_ours minsec_ref drop_ours drop_ref
4-nik 64 69.1 69.2 -0.1 0.9887 0.9864 -0.0024 -95.23 -154.78 0.708 0.9766 0.9745 0 04+nik 64 69.1 69.2 -0.1 0.9887 0.9864 -0.0023 -80.86 -154.78 0.643 0.9767 0.9745 0 0
5-nik 96 100.9 101.0 -0.1 0.9947 0.9940 -0.0007 -29.53 -31.55 0.982 0.9889 0.9888 0 05+nik 96 100.9 101.0 -0.1 0.9947 0.9940 -0.0007 -26.28 -31.55 0.954 0.9886 0.9888 0 0
6-reelo 64 63.6 63.6 -0.0 0.9893 0.9866 -0.0027 -202.82 -123.36 1.510 0.9702 0.9686 0 06+reelo 64 63.5 63.6 -0.1 0.9893 0.9866 -0.0026 -202.81 -123.36 1.509 0.9699 0.9686 0 0
7-reelo 96 93.4 93.9 -0.5 0.9947 0.9937 -0.0009 -114.74 -125.18 0.940 0.9862 0.9854 0 07+reelo 96 93.3 93.9 -0.6 0.9946 0.9937 -0.0008 -112.54 -125.18 0.928 0.9861 0.9854 0 0
8-her 64 67.7 67.9 -0.4 0.9834 0.9794 -0.0040 -365.68 -339.00 1.102 0.9476 0.9406 0 08+her 64 67.6 67.9 -0.6 0.9833 0.9794 -0.0039 -366.18 -339.00 1.104 0.9471 0.9406 0 0
9-her 96 101.0 101.5 -0.5 0.9914 0.9902 -0.0012 -202.16 -191.50 1.052 0.9728 0.9728 0 09+her 96 100.8 101.5 -0.7 0.9913 0.9902 -0.0010 -206.21 -191.50 1.072 0.9724 0.9728 0 0
10-reell 64 71.3 71.3 -0.0 0.9908 0.9880 -0.0029 -351.70 -128.39 2.697 0.9720 0.9644 0 010+reell 64 71.3 71.3 -0.0 0.9908 0.9880 -0.0028 -198.89 -128.39 1.440 0.9718 0.9644 0 0
11-reell 96 105.3 105.4 -0.0 0.9956 0.9948 -0.0008 -301.83 -29.16 4.499 0.9855 0.9804 0 011+reell 96 105.3 105.4 -0.0 0.9956 0.9948 -0.0008 -169.83 -29.16 2.516 0.9854 0.9804 0 0
12-reelm 64 63.1 63.3 -0.3 0.9866 0.9859 -0.0007 -266.99 -392.46 0.623 0.9326 0.9100 0 012+dl8a 64 65.7 65.8 -0.2 0.9889 0.9865 -0.0024 -221.23 -378.84 0.536 0.9794 0.9723 0 0
13-reelm 96 84.7 84.8 -0.2 0.9935 0.9920 -0.0016 -145.55 -231.16 0.660 0.9687 0.9511 0 013+dl8a 96 96.5 96.8 -0.4 0.9942 0.9934 -0.0008 -144.33 -423.47 0.315 0.9878 0.9864 0 0
14-dl8a 64 65.7 65.8 -0.1 0.9889 0.9865 -0.0025 -227.02 -378.84 0.551 0.9787 0.9723 0 014+hein 64 64.7 64.9 -0.3 0.9883 0.9874 -0.0009 -115.57 -388.31 0.302 0.9286 0.9148 0 0
15-dl8a 96 96.5 96.8 -0.3 0.9942 0.9934 -0.0009 -177.72 -423.47 0.374 0.9881 0.9864 0 015+hein 96 86.7 86.9 -0.3 0.9942 0.9930 -0.0012 -105.73 -246.46 0.490 0.9664 0.9499 0 0
16-hein 64 64.8 64.9 -0.2 0.9888 0.9874 -0.0014 -344.79 -388.31 0.855 0.9324 0.9148 0 0
17-hein 96 86.8 86.9 -0.2 0.9946 0.9930 -0.0016 -117.88 -246.46 0.528 0.9686 0.9499 0 0
lanes/opus-opustr2-r1.sweep.txtadded+16 -0
@@ -0,0 +1,16 @@
1+# lane-opustr2 r1: BASELINE k=1 off=.044 (shipped)
2+# ec-opus encoder vs ffmpeg libopus — encoders-only gate (r1)
3+# both bitstreams decoded by ec-opus; 120s cap; VBR; 48kHz stereo
4+# source kbps ours_kbps ref_kbps rate% corr_ours corr_ref gap Q_ours Q_ref err_ratio minsec_ours minsec_ref drop_ours drop_ref
5+nik 64 69.1 69.2 -0.1 0.9887 0.9864 -0.0024 -95.23 -154.78 0.708 0.9766 0.9745 0 0
6+nik 96 100.9 101.0 -0.1 0.9947 0.9940 -0.0007 -29.86 -31.55 0.985 0.9889 0.9888 0 0
7+reelo 64 63.6 63.6 -0.0 0.9893 0.9866 -0.0027 -202.82 -123.36 1.510 0.9702 0.9686 0 0
8+reelo 96 93.4 93.9 -0.5 0.9947 0.9937 -0.0009 -114.74 -125.18 0.940 0.9862 0.9854 0 0
9+her 64 67.7 67.9 -0.4 0.9834 0.9794 -0.0040 -365.72 -339.00 1.103 0.9477 0.9406 0 0
10+her 96 101.0 101.5 -0.5 0.9914 0.9902 -0.0012 -202.07 -191.50 1.051 0.9728 0.9728 0 0
11+reell 64 71.3 71.3 -0.0 0.9908 0.9880 -0.0029 -351.70 -128.39 2.697 0.9721 0.9644 0 0
12+reell 96 105.3 105.4 -0.0 0.9956 0.9948 -0.0008 -301.83 -29.16 4.499 0.9856 0.9804 0 0
13+dl8a 64 65.7 65.8 -0.1 0.9889 0.9865 -0.0025 -227.54 -378.84 0.552 0.9787 0.9723 0 0
14+dl8a 96 96.5 96.8 -0.3 0.9942 0.9934 -0.0009 -177.70 -423.47 0.374 0.9881 0.9864 0 0
15+hein 64 64.8 64.9 -0.2 0.9888 0.9874 -0.0014 -344.06 -388.31 0.853 0.9318 0.9148 0 0
16+hein 96 86.8 86.9 -0.2 0.9946 0.9930 -0.0016 -117.91 -246.46 0.528 0.9689 0.9499 0 0
lanes/opus-opustr2-r10.sweep.txtadded+16 -0
@@ -0,0 +1,16 @@
1+# lane-opustr2 r10: k=2.0 off=.04 thresh tfe>=0.35
2+# ec-opus encoder vs ffmpeg libopus — encoders-only gate (r1)
3+# both bitstreams decoded by ec-opus; 120s cap; VBR; 48kHz stereo
4+# source kbps ours_kbps ref_kbps rate% corr_ours corr_ref gap Q_ours Q_ref err_ratio minsec_ours minsec_ref drop_ours drop_ref
5+nik 64 69.0 69.2 -0.2 0.9887 0.9864 -0.0023 -84.80 -154.78 0.661 0.9772 0.9745 0 0
6+nik 96 100.8 101.0 -0.2 0.9947 0.9940 -0.0006 -36.59 -31.55 1.045 0.9891 0.9888 0 0
7+reelo 64 63.4 63.6 -0.3 0.9892 0.9866 -0.0026 -202.86 -123.36 1.510 0.9684 0.9686 0 0
8+reelo 96 93.1 93.9 -0.9 0.9945 0.9937 -0.0007 -131.57 -125.18 1.037 0.9858 0.9854 0 0
9+her 64 67.4 67.9 -0.8 0.9831 0.9794 -0.0037 -365.96 -339.00 1.104 0.9465 0.9406 0 0
10+her 96 100.6 101.5 -0.9 0.9911 0.9902 -0.0009 -206.26 -191.50 1.072 0.9717 0.9728 0 0
11+reell 64 71.3 71.3 -0.0 0.9908 0.9880 -0.0028 -244.05 -128.39 1.764 0.9710 0.9644 0 0
12+reell 96 105.3 105.4 -0.1 0.9956 0.9948 -0.0008 -137.01 -29.16 2.114 0.9854 0.9804 0 0
13+dl8a 64 65.5 65.8 -0.4 0.9886 0.9865 -0.0022 -223.08 -378.84 0.541 0.9785 0.9723 0 0
14+dl8a 96 96.3 96.8 -0.6 0.9940 0.9934 -0.0006 -202.46 -423.47 0.422 0.9870 0.9864 0 0
15+hein 64 64.3 64.9 -0.8 0.9868 0.9874 +0.0006 -195.36 -388.31 0.460 0.9195 0.9148 0 0
16+hein 96 86.2 86.9 -0.9 0.9933 0.9930 -0.0003 -94.13 -246.46 0.456 0.9618 0.9499 0 0
lanes/opus-opustr2-r11.sweep.txtadded+16 -0
@@ -0,0 +1,16 @@
1+# lane-opustr2 r11: k=1.25 off=.044 thresh tfe>=0.6
2+# ec-opus encoder vs ffmpeg libopus — encoders-only gate (r1)
3+# both bitstreams decoded by ec-opus; 120s cap; VBR; 48kHz stereo
4+# source kbps ours_kbps ref_kbps rate% corr_ours corr_ref gap Q_ours Q_ref err_ratio minsec_ours minsec_ref drop_ours drop_ref
5+nik 64 69.1 69.2 -0.1 0.9887 0.9864 -0.0024 -95.49 -154.78 0.709 0.9767 0.9745 0 0
6+nik 96 100.9 101.0 -0.1 0.9947 0.9940 -0.0007 -31.81 -31.55 1.002 0.9888 0.9888 0 0
7+reelo 64 63.5 63.6 -0.1 0.9893 0.9866 -0.0027 -202.81 -123.36 1.510 0.9701 0.9686 0 0
8+reelo 96 93.3 93.9 -0.6 0.9946 0.9937 -0.0009 -112.98 -125.18 0.931 0.9861 0.9854 0 0
9+her 64 67.6 67.9 -0.5 0.9834 0.9794 -0.0039 -365.71 -339.00 1.103 0.9473 0.9406 0 0
10+her 96 100.9 101.5 -0.6 0.9913 0.9902 -0.0011 -205.93 -191.50 1.070 0.9726 0.9728 0 0
11+reell 64 71.3 71.3 -0.0 0.9908 0.9880 -0.0028 -198.89 -128.39 1.440 0.9719 0.9644 0 0
12+reell 96 105.3 105.4 -0.0 0.9956 0.9948 -0.0008 -169.83 -29.16 2.516 0.9855 0.9804 0 0
13+dl8a 64 65.7 65.8 -0.2 0.9889 0.9865 -0.0024 -226.16 -378.84 0.548 0.9791 0.9723 0 0
14+dl8a 96 96.5 96.8 -0.3 0.9942 0.9934 -0.0008 -171.29 -423.47 0.363 0.9879 0.9864 0 0
15+hein 64 64.7 64.9 -0.2 0.9884 0.9874 -0.0011 -371.64 -388.31 0.943 0.9299 0.9148 0 0
16+hein 96 86.7 86.9 -0.3 0.9944 0.9930 -0.0013 -100.91 -246.46 0.476 0.9677 0.9499 0 0
lanes/opus-opustr2-r12.sweep.txtadded+16 -0
@@ -0,0 +1,16 @@
1+# lane-opustr2 r12: k=1.25 off=.044 thresh tfe>=0.35
2+# ec-opus encoder vs ffmpeg libopus — encoders-only gate (r1)
3+# both bitstreams decoded by ec-opus; 120s cap; VBR; 48kHz stereo
4+# source kbps ours_kbps ref_kbps rate% corr_ours corr_ref gap Q_ours Q_ref err_ratio minsec_ours minsec_ref drop_ours drop_ref
5+nik 64 69.1 69.2 -0.1 0.9887 0.9864 -0.0024 -91.33 -154.78 0.690 0.9768 0.9745 0 0
6+nik 96 100.9 101.0 -0.1 0.9947 0.9940 -0.0007 -36.69 -31.55 1.046 0.9887 0.9888 0 0
7+reelo 64 63.5 63.6 -0.1 0.9893 0.9866 -0.0027 -202.82 -123.36 1.510 0.9699 0.9686 0 0
8+reelo 96 93.3 93.9 -0.6 0.9946 0.9937 -0.0009 -112.41 -125.18 0.927 0.9861 0.9854 0 0
9+her 64 67.6 67.9 -0.5 0.9833 0.9794 -0.0039 -366.27 -339.00 1.105 0.9472 0.9406 0 0
10+her 96 100.8 101.5 -0.7 0.9913 0.9902 -0.0011 -206.39 -191.50 1.073 0.9725 0.9728 0 0
11+reell 64 71.3 71.3 -0.0 0.9908 0.9880 -0.0028 -198.89 -128.39 1.440 0.9719 0.9644 0 0
12+reell 96 105.3 105.4 -0.0 0.9956 0.9948 -0.0008 -169.83 -29.16 2.516 0.9855 0.9804 0 0
13+dl8a 64 65.7 65.8 -0.2 0.9889 0.9865 -0.0024 -225.53 -378.84 0.547 0.9789 0.9723 0 0
14+dl8a 96 96.5 96.8 -0.3 0.9942 0.9934 -0.0008 -211.05 -423.47 0.439 0.9879 0.9864 0 0
15+hein 64 64.7 64.9 -0.3 0.9883 0.9874 -0.0010 -130.19 -388.31 0.329 0.9281 0.9148 0 0
16+hein 96 86.7 86.9 -0.3 0.9943 0.9930 -0.0013 -105.05 -246.46 0.488 0.9674 0.9499 0 0
lanes/opus-opustr2-r2.sweep.txtadded+16 -0
@@ -0,0 +1,16 @@
1+# lane-opustr2 r2: k=2.0 off=.04 (libopus x2)
2+# ec-opus encoder vs ffmpeg libopus — encoders-only gate (r1)
3+# both bitstreams decoded by ec-opus; 120s cap; VBR; 48kHz stereo
4+# source kbps ours_kbps ref_kbps rate% corr_ours corr_ref gap Q_ours Q_ref err_ratio minsec_ours minsec_ref drop_ours drop_ref
5+nik 64 69.0 69.2 -0.2 0.9886 0.9864 -0.0023 -90.37 -154.78 0.686 0.9774 0.9745 0 0
6+nik 96 100.6 101.0 -0.4 0.9946 0.9940 -0.0006 -14.17 -31.55 0.849 0.9890 0.9888 0 0
7+reelo 64 63.4 63.6 -0.3 0.9891 0.9866 -0.0025 -202.81 -123.36 1.510 0.9681 0.9686 0 0
8+reelo 96 93.1 93.9 -0.9 0.9944 0.9937 -0.0007 -101.43 -125.18 0.867 0.9853 0.9854 0 0
9+her 64 67.3 67.9 -0.9 0.9830 0.9794 -0.0035 -365.61 -339.00 1.102 0.9463 0.9406 0 0
10+her 96 100.6 101.5 -0.9 0.9911 0.9902 -0.0008 -206.21 -191.50 1.072 0.9714 0.9728 0 0
11+reell 64 71.3 71.3 -0.0 0.9908 0.9880 -0.0028 -244.05 -128.39 1.764 0.9713 0.9644 0 0
12+reell 96 105.3 105.4 -0.1 0.9955 0.9948 -0.0008 -137.01 -29.16 2.114 0.9852 0.9804 0 0
13+dl8a 64 65.4 65.8 -0.6 0.9885 0.9865 -0.0021 -223.36 -378.84 0.542 0.9778 0.9723 0 0
14+dl8a 96 96.1 96.8 -0.8 0.9939 0.9934 -0.0005 -152.75 -423.47 0.329 0.9863 0.9864 0 0
15+hein 64 64.3 64.9 -1.0 0.9864 0.9874 +0.0010 -271.82 -388.31 0.644 0.9143 0.9148 0 0
16+hein 96 86.1 86.9 -1.0 0.9930 0.9930 +0.0000 -138.87 -246.46 0.595 0.9592 0.9499 0 0
lanes/opus-opustr2-r3.sweep.txtadded+16 -0
@@ -0,0 +1,16 @@
1+# lane-opustr2 r3: k=1.5 off=.04
2+# ec-opus encoder vs ffmpeg libopus — encoders-only gate (r1)
3+# both bitstreams decoded by ec-opus; 120s cap; VBR; 48kHz stereo
4+# source kbps ours_kbps ref_kbps rate% corr_ours corr_ref gap Q_ours Q_ref err_ratio minsec_ours minsec_ref drop_ours drop_ref
5+nik 64 69.1 69.2 -0.2 0.9887 0.9864 -0.0023 -80.21 -154.78 0.641 0.9771 0.9745 0 0
6+nik 96 100.8 101.0 -0.2 0.9947 0.9940 -0.0006 -16.30 -31.55 0.867 0.9888 0.9888 0 0
7+reelo 64 63.5 63.6 -0.2 0.9892 0.9866 -0.0026 -202.79 -123.36 1.509 0.9692 0.9686 0 0
8+reelo 96 93.2 93.9 -0.7 0.9945 0.9937 -0.0008 -130.39 -125.18 1.030 0.9859 0.9854 0 0
9+her 64 67.5 67.9 -0.7 0.9832 0.9794 -0.0038 -367.00 -339.00 1.108 0.9469 0.9406 0 0
10+her 96 100.7 101.5 -0.8 0.9912 0.9902 -0.0010 -205.87 -191.50 1.070 0.9719 0.9728 0 0
11+reell 64 71.3 71.3 -0.0 0.9908 0.9880 -0.0028 -232.28 -128.39 1.676 0.9717 0.9644 0 0
12+reell 96 105.3 105.4 -0.1 0.9956 0.9948 -0.0008 -151.40 -29.16 2.286 0.9854 0.9804 0 0
13+dl8a 64 65.6 65.8 -0.3 0.9888 0.9865 -0.0023 -221.73 -378.84 0.538 0.9794 0.9723 0 0
14+dl8a 96 96.4 96.8 -0.5 0.9941 0.9934 -0.0007 -140.15 -423.47 0.308 0.9873 0.9864 0 0
15+hein 64 64.6 64.9 -0.4 0.9877 0.9874 -0.0003 -124.47 -388.31 0.318 0.9232 0.9148 0 0
16+hein 96 86.5 86.9 -0.5 0.9939 0.9930 -0.0008 -107.70 -246.46 0.496 0.9645 0.9499 0 0
lanes/opus-opustr2-r4.sweep.txtadded+16 -0
@@ -0,0 +1,16 @@
1+# lane-opustr2 r4: k=2.0 off=.04 gate=transient
2+# ec-opus encoder vs ffmpeg libopus — encoders-only gate (r1)
3+# both bitstreams decoded by ec-opus; 120s cap; VBR; 48kHz stereo
4+# source kbps ours_kbps ref_kbps rate% corr_ours corr_ref gap Q_ours Q_ref err_ratio minsec_ours minsec_ref drop_ours drop_ref
5+nik 64 69.0 69.2 -0.2 0.9886 0.9864 -0.0023 -84.50 -154.78 0.659 0.9775 0.9745 0 0
6+nik 96 100.8 101.0 -0.2 0.9947 0.9940 -0.0006 -20.66 -31.55 0.904 0.9891 0.9888 0 0
7+reelo 64 63.4 63.6 -0.3 0.9892 0.9866 -0.0025 -202.85 -123.36 1.510 0.9682 0.9686 0 0
8+reelo 96 93.0 93.9 -0.9 0.9945 0.9937 -0.0007 -131.23 -125.18 1.035 0.9856 0.9854 0 0
9+her 64 67.4 67.9 -0.8 0.9831 0.9794 -0.0036 -366.13 -339.00 1.104 0.9464 0.9406 0 0
10+her 96 100.6 101.5 -0.9 0.9911 0.9902 -0.0009 -206.27 -191.50 1.072 0.9715 0.9728 0 0
11+reell 64 71.3 71.3 -0.0 0.9908 0.9880 -0.0028 -244.05 -128.39 1.764 0.9710 0.9644 0 0
12+reell 96 105.3 105.4 -0.1 0.9956 0.9948 -0.0008 -137.01 -29.16 2.114 0.9854 0.9804 0 0
13+dl8a 64 65.5 65.8 -0.5 0.9886 0.9865 -0.0021 -223.06 -378.84 0.541 0.9782 0.9723 0 0
14+dl8a 96 96.2 96.8 -0.7 0.9940 0.9934 -0.0006 -198.37 -423.47 0.414 0.9869 0.9864 0 0
15+hein 64 64.3 64.9 -0.9 0.9867 0.9874 +0.0006 -195.48 -388.31 0.461 0.9195 0.9148 0 0
16+hein 96 86.1 86.9 -0.9 0.9932 0.9930 -0.0002 -93.89 -246.46 0.455 0.9611 0.9499 0 0
lanes/opus-opustr2-r5.sweep.txtadded+16 -0
@@ -0,0 +1,16 @@
1+# lane-opustr2 r5: k=1.5 off=.04 gate=transient
2+# ec-opus encoder vs ffmpeg libopus — encoders-only gate (r1)
3+# both bitstreams decoded by ec-opus; 120s cap; VBR; 48kHz stereo
4+# source kbps ours_kbps ref_kbps rate% corr_ours corr_ref gap Q_ours Q_ref err_ratio minsec_ours minsec_ref drop_ours drop_ref
5+nik 64 69.1 69.2 -0.1 0.9887 0.9864 -0.0023 -98.66 -154.78 0.723 0.9766 0.9745 0 0
6+nik 96 100.9 101.0 -0.2 0.9947 0.9940 -0.0007 -13.63 -31.55 0.844 0.9885 0.9888 0 0
7+reelo 64 63.5 63.6 -0.2 0.9892 0.9866 -0.0026 -202.87 -123.36 1.510 0.9692 0.9686 0 0
8+reelo 96 93.2 93.9 -0.7 0.9946 0.9937 -0.0008 -105.93 -125.18 0.891 0.9859 0.9854 0 0
9+her 64 67.5 67.9 -0.7 0.9832 0.9794 -0.0038 -366.09 -339.00 1.104 0.9471 0.9406 0 0
10+her 96 100.7 101.5 -0.8 0.9912 0.9902 -0.0010 -205.95 -191.50 1.071 0.9721 0.9728 0 0
11+reell 64 71.3 71.3 -0.0 0.9908 0.9880 -0.0028 -232.28 -128.39 1.676 0.9716 0.9644 0 0
12+reell 96 105.3 105.4 -0.1 0.9956 0.9948 -0.0008 -151.40 -29.16 2.286 0.9852 0.9804 0 0
13+dl8a 64 65.6 65.8 -0.3 0.9888 0.9865 -0.0023 -221.45 -378.84 0.537 0.9794 0.9723 0 0
14+dl8a 96 96.4 96.8 -0.5 0.9941 0.9934 -0.0007 -179.41 -423.47 0.378 0.9875 0.9864 0 0
15+hein 64 64.6 64.9 -0.4 0.9878 0.9874 -0.0005 -352.16 -388.31 0.879 0.9271 0.9148 0 0
16+hein 96 86.6 86.9 -0.4 0.9940 0.9930 -0.0009 -117.22 -246.46 0.526 0.9656 0.9499 0 0
lanes/opus-opustr2-r6.sweep.txtadded+16 -0
@@ -0,0 +1,16 @@
1+# lane-opustr2 r6: k=1.5 off=.08
2+# ec-opus encoder vs ffmpeg libopus — encoders-only gate (r1)
3+# both bitstreams decoded by ec-opus; 120s cap; VBR; 48kHz stereo
4+# source kbps ours_kbps ref_kbps rate% corr_ours corr_ref gap Q_ours Q_ref err_ratio minsec_ours minsec_ref drop_ours drop_ref
5+nik 64 69.1 69.2 -0.2 0.9887 0.9864 -0.0023 -76.74 -154.78 0.625 0.9774 0.9745 0 0
6+nik 96 100.8 101.0 -0.2 0.9947 0.9940 -0.0006 -11.26 -31.55 0.824 0.9890 0.9888 0 0
7+reelo 64 63.4 63.6 -0.2 0.9892 0.9866 -0.0026 -202.85 -123.36 1.510 0.9688 0.9686 0 0
8+reelo 96 93.2 93.9 -0.7 0.9945 0.9937 -0.0008 -130.58 -125.18 1.031 0.9858 0.9854 0 0
9+her 64 67.4 67.9 -0.7 0.9832 0.9794 -0.0037 -366.40 -339.00 1.105 0.9468 0.9406 0 0
10+her 96 100.6 101.5 -0.8 0.9912 0.9902 -0.0009 -205.97 -191.50 1.071 0.9719 0.9728 0 0
11+reell 64 71.3 71.3 -0.0 0.9908 0.9880 -0.0028 -240.03 -128.39 1.733 0.9716 0.9644 0 0
12+reell 96 105.3 105.4 -0.1 0.9956 0.9948 -0.0008 -167.01 -29.16 2.480 0.9853 0.9804 0 0
13+dl8a 64 65.5 65.8 -0.5 0.9887 0.9865 -0.0022 -221.67 -378.84 0.538 0.9786 0.9723 0 0
14+dl8a 96 96.3 96.8 -0.5 0.9941 0.9934 -0.0007 -136.20 -423.47 0.301 0.9870 0.9864 0 0
15+hein 64 64.6 64.9 -0.5 0.9876 0.9874 -0.0002 -123.26 -388.31 0.316 0.9226 0.9148 0 0
16+hein 96 86.5 86.9 -0.5 0.9938 0.9930 -0.0007 -103.65 -246.46 0.484 0.9636 0.9499 0 0
lanes/opus-opustr2-r7.sweep.txtadded+16 -0
@@ -0,0 +1,16 @@
1+# lane-opustr2 r7: k=1.5 off=.06
2+# ec-opus encoder vs ffmpeg libopus — encoders-only gate (r1)
3+# both bitstreams decoded by ec-opus; 120s cap; VBR; 48kHz stereo
4+# source kbps ours_kbps ref_kbps rate% corr_ours corr_ref gap Q_ours Q_ref err_ratio minsec_ours minsec_ref drop_ours drop_ref
5+nik 64 69.1 69.2 -0.2 0.9887 0.9864 -0.0023 -74.55 -154.78 0.616 0.9770 0.9745 0 0
6+nik 96 100.8 101.0 -0.2 0.9947 0.9940 -0.0006 -11.29 -31.55 0.824 0.9889 0.9888 0 0
7+reelo 64 63.4 63.6 -0.2 0.9892 0.9866 -0.0026 -202.81 -123.36 1.509 0.9687 0.9686 0 0
8+reelo 96 93.2 93.9 -0.7 0.9945 0.9937 -0.0008 -130.49 -125.18 1.031 0.9858 0.9854 0 0
9+her 64 67.5 67.9 -0.7 0.9832 0.9794 -0.0038 -366.25 -339.00 1.105 0.9468 0.9406 0 0
10+her 96 100.6 101.5 -0.8 0.9912 0.9902 -0.0009 -205.92 -191.50 1.070 0.9719 0.9728 0 0
11+reell 64 71.3 71.3 -0.0 0.9908 0.9880 -0.0028 -244.45 -128.39 1.767 0.9717 0.9644 0 0
12+reell 96 105.3 105.4 -0.1 0.9956 0.9948 -0.0008 -167.61 -29.16 2.487 0.9853 0.9804 0 0
13+dl8a 64 65.6 65.8 -0.4 0.9888 0.9865 -0.0023 -221.68 -378.84 0.538 0.9788 0.9723 0 0
14+dl8a 96 96.3 96.8 -0.5 0.9941 0.9934 -0.0007 -136.37 -423.47 0.301 0.9872 0.9864 0 0
15+hein 64 64.6 64.9 -0.5 0.9876 0.9874 -0.0003 -123.42 -388.31 0.316 0.9223 0.9148 0 0
16+hein 96 86.5 86.9 -0.5 0.9938 0.9930 -0.0008 -103.75 -246.46 0.484 0.9639 0.9499 0 0
lanes/opus-opustr2-r8.sweep.txtadded+16 -0
@@ -0,0 +1,16 @@
1+# lane-opustr2 r8: k=1.25 off=.044
2+# ec-opus encoder vs ffmpeg libopus — encoders-only gate (r1)
3+# both bitstreams decoded by ec-opus; 120s cap; VBR; 48kHz stereo
4+# source kbps ours_kbps ref_kbps rate% corr_ours corr_ref gap Q_ours Q_ref err_ratio minsec_ours minsec_ref drop_ours drop_ref
5+nik 64 69.1 69.2 -0.1 0.9887 0.9864 -0.0023 -80.86 -154.78 0.643 0.9767 0.9745 0 0
6+nik 96 100.9 101.0 -0.1 0.9947 0.9940 -0.0007 -26.28 -31.55 0.954 0.9886 0.9888 0 0
7+reelo 64 63.5 63.6 -0.1 0.9893 0.9866 -0.0026 -202.81 -123.36 1.509 0.9699 0.9686 0 0
8+reelo 96 93.3 93.9 -0.6 0.9946 0.9937 -0.0008 -112.54 -125.18 0.928 0.9861 0.9854 0 0
9+her 64 67.6 67.9 -0.6 0.9833 0.9794 -0.0039 -366.18 -339.00 1.104 0.9471 0.9406 0 0
10+her 96 100.8 101.5 -0.7 0.9913 0.9902 -0.0010 -206.21 -191.50 1.072 0.9724 0.9728 0 0
11+reell 64 71.3 71.3 -0.0 0.9908 0.9880 -0.0028 -198.89 -128.39 1.440 0.9718 0.9644 0 0
12+reell 96 105.3 105.4 -0.0 0.9956 0.9948 -0.0008 -169.83 -29.16 2.516 0.9854 0.9804 0 0
13+dl8a 64 65.7 65.8 -0.2 0.9889 0.9865 -0.0024 -221.23 -378.84 0.536 0.9794 0.9723 0 0
14+dl8a 96 96.5 96.8 -0.4 0.9942 0.9934 -0.0008 -144.33 -423.47 0.315 0.9878 0.9864 0 0
15+hein 64 64.7 64.9 -0.3 0.9883 0.9874 -0.0009 -115.57 -388.31 0.302 0.9286 0.9148 0 0
16+hein 96 86.7 86.9 -0.3 0.9942 0.9930 -0.0012 -105.73 -246.46 0.490 0.9664 0.9499 0 0
lanes/opus-opustr2-r9.sweep.txtadded+16 -0
@@ -0,0 +1,16 @@
1+# lane-opustr2 r9: k=2.0 off=.04 thresh tfe>=0.6
2+# ec-opus encoder vs ffmpeg libopus — encoders-only gate (r1)
3+# both bitstreams decoded by ec-opus; 120s cap; VBR; 48kHz stereo
4+# source kbps ours_kbps ref_kbps rate% corr_ours corr_ref gap Q_ours Q_ref err_ratio minsec_ours minsec_ref drop_ours drop_ref
5+nik 64 69.1 69.2 -0.1 0.9887 0.9864 -0.0023 -99.01 -154.78 0.725 0.9770 0.9745 0 0
6+nik 96 100.8 101.0 -0.2 0.9947 0.9940 -0.0006 -34.57 -31.55 1.027 0.9887 0.9888 0 0
7+reelo 64 63.5 63.6 -0.2 0.9893 0.9866 -0.0026 -202.81 -123.36 1.510 0.9697 0.9686 0 0
8+reelo 96 93.2 93.9 -0.7 0.9946 0.9937 -0.0008 -112.97 -125.18 0.931 0.9858 0.9854 0 0
9+her 64 67.5 67.9 -0.7 0.9832 0.9794 -0.0038 -367.01 -339.00 1.108 0.9471 0.9406 0 0
10+her 96 100.7 101.5 -0.8 0.9912 0.9902 -0.0010 -206.14 -191.50 1.071 0.9721 0.9728 0 0
11+reell 64 71.3 71.3 -0.0 0.9908 0.9880 -0.0028 -244.05 -128.39 1.764 0.9714 0.9644 0 0
12+reell 96 105.3 105.4 -0.1 0.9956 0.9948 -0.0008 -137.01 -29.16 2.114 0.9854 0.9804 0 0
13+dl8a 64 65.6 65.8 -0.2 0.9888 0.9865 -0.0023 -226.92 -378.84 0.550 0.9795 0.9723 0 0
14+dl8a 96 96.4 96.8 -0.4 0.9941 0.9934 -0.0007 -175.88 -423.47 0.371 0.9876 0.9864 0 0
15+hein 64 64.6 64.9 -0.5 0.9875 0.9874 -0.0002 -350.42 -388.31 0.873 0.9219 0.9148 0 0
16+hein 96 86.5 86.9 -0.5 0.9937 0.9930 -0.0007 -141.11 -246.46 0.603 0.9634 0.9499 0 0