forge
Explore
Log in

Don't you dare go Hollow

wip(opus-silkq/r1): per-second SILK diagnostic; pitch-continuity variant (off, measured harmful)

Browse files at this commit

9ba7193430dbfe45836060a9efad1558a25d2e1aAhmet Kaan GümüşParent: 9aa3c42
crates/ec-opus/src/silk_enc.rsmodified+39 -4
@@ -556,7 +556,12 @@ fn ncc(frame: &[f32], lag: usize) -> f32 {
556 /// Coarse (4 kHz-equivalent decimated) search followed by a fine search at556 /// Coarse (4 kHz-equivalent decimated) search followed by a fine search at
557 /// full rate, then a per-subframe refinement and contour-table lookup557 /// full rate, then a per-subframe refinement and contour-table lookup
558 /// against the decoder's own `CB_LAGS_*` tables (`silk.rs:157-176`).558 /// against the decoder's own `CB_LAGS_*` tables (`silk.rs:157-176`).
559-pub(crate) fn estimate_pitch(frame: &[f32], fs_khz: i32, nb_subfr: usize) -> Option<PitchEstimate> {559+pub(crate) fn estimate_pitch(
560+ frame: &[f32],
561+ fs_khz: i32,
562+ nb_subfr: usize,
563+ prior_lag: Option<i32>,
564+) -> Option<PitchEstimate> {
560 let min_lag = (PE_MIN_LAG_MS * fs_khz) as usize;565 let min_lag = (PE_MIN_LAG_MS * fs_khz) as usize;
561 let max_lag = (PE_MAX_LAG_MS * fs_khz) as usize;566 let max_lag = (PE_MAX_LAG_MS * fs_khz) as usize;
562 if frame.len() <= max_lag {567 if frame.len() <= max_lag {
@@ -595,7 +600,37 @@ pub(crate) fn estimate_pitch(frame: &[f32], fs_khz: i32, nb_subfr: usize) -> Opt
595 .find(|&(_, &s)| s >= 0.85 * fine_best)600 .find(|&(_, &s)| s >= 0.85 * fine_best)
596 .map(|(lag, _)| lag)601 .map(|(lag, _)| lag)
597 .unwrap_or(fine_lo);602 .unwrap_or(fine_lo);
598- let best_score = fine_best;603+ let mut best_score = fine_best;
604+
605+ // Pitch continuity (libopus `silk_P_estimation` reuses the prior frame's
606+ // lag as a prior). The open-loop search can octave-error onto an integer
607+ // multiple of the true period — seen as a 2-3.5x lag jump with LTP gain
608+ // pinned at its floor — cratering that second's corr. When a prior lag is
609+ // available and the open-loop result jumped away from it, re-search the
610+ // fine window around the prior lag and keep it if its NCC is comparable.
611+ // Measured harmful on real speech (reelm 12k SILK-WB: err_ratio 11.4 -> 26.2,
612+ // lane opus-silkq r1); kept off.
613+ const ENABLE_PITCH_CONTINUITY: bool = false;
614+ let mut best_lag = best_lag;
615+ if ENABLE_PITCH_CONTINUITY {
616+ if let Some(pl) = prior_lag {
617+ let pl = pl as usize;
618+ if pl >= min_lag && pl <= max_lag && best_lag.abs_diff(pl) > dec {
619+ let p_lo = pl.saturating_sub(dec).max(min_lag);
620+ let p_hi = (pl + dec).min(max_lag);
621+ let p_scores: Vec<f32> = (p_lo..=p_hi).map(|lag| ncc(frame, lag)).collect();
622+ let p_best = p_scores.iter().cloned().fold(f32::MIN, f32::max);
623+ if p_best >= 0.85 * best_score {
624+ best_lag = (p_lo..=p_hi)
625+ .zip(p_scores.iter())
626+ .find(|&(_, &s)| s >= 0.85 * p_best)
627+ .map(|(lag, _)| lag)
628+ .unwrap_or(pl);
629+ best_score = p_best;
630+ }
631+ }
632+ }
633+ }
599 let voiced = best_score > 0.35;634 let voiced = best_score > 0.35;
600 if !voiced {635 if !voiced {
601 return Some(PitchEstimate {636 return Some(PitchEstimate {
@@ -905,7 +940,7 @@ mod tests {
905 let (idx, win) = w;940 let (idx, win) = w;
906 frame[idx + 1] = 0.25 * win[0] + 0.5 * win[1] + 0.25 * win[2];941 frame[idx + 1] = 0.25 * win[0] + 0.5 * win[1] + 0.25 * win[2];
907 }942 }
908- let est = estimate_pitch(&frame, 16, 4).expect("long enough frame");943+ let est = estimate_pitch(&frame, 16, 4, None).expect("long enough frame");
909 assert!(est.voiced, "pulse train should read as voiced");944 assert!(est.voiced, "pulse train should read as voiced");
910 assert!(945 assert!(
911 (est.lag as f32 - period).abs() <= 1.0,946 (est.lag as f32 - period).abs() <= 1.0,
@@ -920,7 +955,7 @@ mod tests {
920 ((rng_state >> 8) as f32 / 8_388_608.0) - 1.0955 ((rng_state >> 8) as f32 / 8_388_608.0) - 1.0
921 })956 })
922 .collect();957 .collect();
923- let est_noise = estimate_pitch(&noise, 16, 4).expect("long enough frame");958+ let est_noise = estimate_pitch(&noise, 16, 4, None).expect("long enough frame");
924 assert!(!est_noise.voiced, "white noise should read as unvoiced");959 assert!(!est_noise.voiced, "white noise should read as unvoiced");
925 }960 }
926 961
crates/ec-opus/src/silk_enc_write.rsmodified+9 -1
@@ -76,6 +76,7 @@ pub struct SilkEncoder {
76 shape_d: Vec<f32>,76 shape_d: Vec<f32>,
77 shape_u: Vec<f32>,77 shape_u: Vec<f32>,
78 shape_gq: Vec<f32>,78 shape_gq: Vec<f32>,
79+ prev_pitch_lag: i32,
79 last_diag: SilkFrameDiag,80 last_diag: SilkFrameDiag,
80 }81 }
81 82
@@ -118,6 +119,7 @@ impl SilkEncoder {
118 final_range: 0,119 final_range: 0,
119 mirror_range: 0,120 mirror_range: 0,
120 voiced_frames: 0,121 voiced_frames: 0,
122+ prev_pitch_lag: 0,
121 mirror_out: vec![0; 20 * 16],123 mirror_out: vec![0; 20 * 16],
122 target_bps: None,124 target_bps: None,
123 reservoir: 0.0,125 reservoir: 0.0,
@@ -382,7 +384,13 @@ impl SilkEncoder {
382 let res: Vec<f32> = (0..n as isize).map(whiten).collect();384 let res: Vec<f32> = (0..n as isize).map(whiten).collect();
383 385
384 // Pitch / LTP.386 // Pitch / LTP.
385- let pitch = estimate_pitch(&x, fs as i32, nb_subfr).filter(|p| p.voiced);387+ let prior = if self.prev_pitch_lag > 0 { Some(self.prev_pitch_lag) } else { None };
388+ let pitch = estimate_pitch(&x, fs as i32, nb_subfr, prior).filter(|p| p.voiced);
389+ if let Some(p) = &pitch {
390+ self.prev_pitch_lag = p.lag;
391+ } else {
392+ self.prev_pitch_lag = 0;
393+ }
386 let voiced = pitch.is_some();394 let voiced = pitch.is_some();
387 395
388 let (lag_index, contour_index, pitch_l) = match &pitch {396 let (lag_index, contour_index, pitch_l) = match &pitch {
crates/ec-opus/tests/conformance.rsmodified+206 -0
@@ -3586,6 +3586,212 @@ fn silk_library_gate_vs_libopus() {
3586 println!("wrote {}", sweep_path.display());3586 println!("wrote {}", sweep_path.display());
3587 }3587 }
3588 3588
3589+// ---------------------------------------------------------------------------
3590+// Per-second SILK diagnostic: reelm@12k VoIP encoder decisions vs libopus.
3591+// Names the mechanism behind the 12k corr gap by per-second SILK frame facts.
3592+// Run:
3593+// cargo test -p ec-opus --release --test conformance silk_silkq_persecond_diag -- --ignored --nocapture
3594+// Writes lanes/opus-silkq-r1.seconds.txt.
3595+// ---------------------------------------------------------------------------
3596+
3597+#[test]
3598+#[ignore]
3599+fn silk_silkq_persecond_diag() {
3600+ const SECS: f64 = 120.0;
3601+ const FRAME: usize = 960; // 20 ms at 48 kHz
3602+ const CHANNELS: usize = 1; // MONO
3603+ const MAX_LAG: usize = 2000;
3604+ const KBPS: u32 = 12;
3605+
3606+ let src = shellexpand("~/Music/reelm.wav");
3607+ assert!(src.exists(), "source missing: {}", src.display());
3608+ let source_pcm = ffmpeg_decode_pcm_mono(&src, SECS);
3609+ let source_frames = source_pcm.len() / CHANNELS;
3610+ assert!(source_frames > 48_000, "source too short");
3611+ let seconds = source_frames as f64 / 48000.0;
3612+
3613+ let lanes_dir = Path::new(env!("CARGO_MANIFEST_DIR")).join("../../lanes");
3614+ fs::create_dir_all(&lanes_dir).unwrap();
3615+ let ref_ogg = temp_path("opus-silkq-r1-ref.opus");
3616+
3617+ // Reference: ffmpeg libopus mono voip VBR at 12k; realised rate from size.
3618+ ffmpeg_encode_libopus_mono_voip(&src, KBPS, &ref_ogg, SECS);
3619+ let ref_bytes = fs::metadata(&ref_ogg).map(|m| m.len() as usize).unwrap_or(0);
3620+ let ref_kbps = ref_bytes as f64 * 8.0 / seconds / 1000.0;
3621+ let ref_dec = ffmpeg_decode(&ref_ogg, CHANNELS).expect("ffmpeg libopus decode of ref");
3622+ let ref_trim: Vec<f32> = ref_dec.into_iter().take(source_frames * CHANNELS).collect();
3623+ let (_, ref_aligned) = align_to_source(&source_pcm, &ref_trim, CHANNELS, MAX_LAG);
3624+ let ref_ogg_bytes = fs::read(&ref_ogg).expect("read ref ogg");
3625+ let ref_payload: Vec<usize> = ogg_packets(&ref_ogg_bytes)
3626+ .into_iter()
3627+ .skip(2) // skip opus_head + opus_comment
3628+ .filter(|p| !p.is_empty())
3629+ .map(|p| p.len())
3630+ .collect();
3631+ let _ = fs::remove_file(&ref_ogg);
3632+
3633+ // Ours: ec-opus Voip at the reference's realised rate, collecting per-frame
3634+ // SILK diag. Bitrate matches the gate (ref_kbps*1000 rounded).
3635+ let mut enc = Encoder::new(48000, CHANNELS, Application::Voip).expect("encoder");
3636+ enc.set_bitrate((ref_kbps * 1000.0).round() as u32);
3637+ enc.set_vbr_constrained(true);
3638+ let mut dec = Decoder::new(48000, CHANNELS).unwrap();
3639+ let mut out = vec![0u8; 1500];
3640+ let mut buf = vec![0.0f32; 5760 * CHANNELS];
3641+ let mut padded = Vec::new();
3642+ let mut ours_dec = Vec::new();
3643+ let mut diags: Vec<ec_opus::SilkFrameDiag> = Vec::new();
3644+ let mut ours_bytes: Vec<usize> = Vec::new();
3645+
3646+ for block in source_pcm.chunks(FRAME * CHANNELS) {
3647+ let block = if block.len() < FRAME * CHANNELS {
3648+ padded.clear();
3649+ padded.extend_from_slice(block);
3650+ padded.resize(FRAME * CHANNELS, 0.0);
3651+ &padded[..]
3652+ } else {
3653+ block
3654+ };
3655+ let len = enc.encode_float(block, FRAME, &mut out).expect("encode");
3656+ let d = enc.last_silk_diag().cloned();
3657+ ours_bytes.push(len);
3658+ if let Some(d) = d { diags.push(d); }
3659+ let n = dec.decode_float(&out[..len], &mut buf).expect("decode");
3660+ ours_dec.extend_from_slice(&buf[..n * CHANNELS]);
3661+ }
3662+ let ours_trim: Vec<f32> = ours_dec.into_iter().take(source_frames * CHANNELS).collect();
3663+ let (_, ours_aligned) = align_to_source(&source_pcm, &ours_trim, CHANNELS, MAX_LAG);
3664+
3665+ // Per-second correlation ours vs ref against the full-band source (matches
3666+ // the gate's corr_bl for the 12k auto-mode row: no lowpass).
3667+ let n_frames = source_frames
3668+ .min(ours_aligned.len() / CHANNELS)
3669+ .min(ref_aligned.len() / CHANNELS);
3670+ let sec_samples = 48000usize;
3671+ let frames_per_sec = sec_samples / FRAME; // 50
3672+
3673+ let mut sec_rows: Vec<(usize, f64, f64, f64)> = Vec::new(); // (sec, corr_o, corr_r, gap)
3674+ let mut start = 0usize;
3675+ let mut sec_idx = 0usize;
3676+ while start + sec_samples <= n_frames {
3677+ let (mut sxy_o, mut sxx_o, mut syy_o) = (0.0f64, 0.0f64, 0.0f64);
3678+ let (mut sxy_r, mut sxx_r, mut syy_r) = (0.0f64, 0.0f64, 0.0f64);
3679+ for i in 0..sec_samples {
3680+ let s = source_pcm[start + i] as f64;
3681+ let o = ours_aligned[start + i] as f64;
3682+ let r = ref_aligned[start + i] as f64;
3683+ sxy_o += s * o; sxx_o += s * s; syy_o += o * o;
3684+ sxy_r += s * r; sxx_r += s * s; syy_r += r * r;
3685+ }
3686+ let co = if sxx_o > 0.0 && syy_o > 0.0 { sxy_o / (sxx_o * syy_o).sqrt() } else { 0.0 };
3687+ let cr = if sxx_r > 0.0 && syy_r > 0.0 { sxy_r / (sxx_r * syy_r).sqrt() } else { 0.0 };
3688+ sec_rows.push((sec_idx, co, cr, cr - co));
3689+ start += sec_samples;
3690+ sec_idx += 1;
3691+ }
3692+
3693+ let mut sorted = sec_rows.clone();
3694+ sorted.sort_by(|a, b| b.3.partial_cmp(&a.3).unwrap());
3695+
3696+ let mut out_str = String::new();
3697+ out_str.push_str("# reelm@12k SILK per-second diagnostic (r1)\n");
3698+ out_str.push_str("# mono, 120s cap, 20ms frames, VBR constrained, 48kHz, Application::Voip\n");
3699+ out_str.push_str(&format!("# total frames: ours={} ref={}\n", diags.len(), ref_payload.len()));
3700+ let avg_o: f64 = sec_rows.iter().map(|r| r.1).sum::<f64>() / sec_rows.len().max(1) as f64;
3701+ let avg_r: f64 = sec_rows.iter().map(|r| r.2).sum::<f64>() / sec_rows.len().max(1) as f64;
3702+ let gap_avg = avg_r - avg_o;
3703+ out_str.push_str(&format!(
3704+ "# avg corr: ours={:.4} ref={:.4} gap={:+.4} ref_kbps={:.1} ours_kbps={:.1}\n\n",
3705+ avg_o, avg_r, gap_avg, ref_kbps,
3706+ ours_bytes.iter().map(|&b| b as f64).sum::<f64>() * 8.0 / seconds / 1000.0
3707+ ));
3708+
3709+ // Per-second summary table.
3710+ out_str.push_str("# sec\tcorr_o\tcorr_r\tgap\tgain_idx_mean\tvoiced_n\tnlsf_interp\tavg_B_o\tavg_B_r\tltp_gain_mean\tpitch_l_mean\n");
3711+ for &(s, co, cr, g) in &sec_rows {
3712+ let f0 = s * frames_per_sec;
3713+ let f1 = ((s + 1) * frames_per_sec).min(diags.len());
3714+ let sd = &diags[f0..f1.min(diags.len())];
3715+ let gain_mean: f64 = if !sd.is_empty() {
3716+ sd.iter().map(|d| d.gain_idx[0] as f64).sum::<f64>() / sd.len() as f64
3717+ } else { -1.0 };
3718+ let voiced_n = sd.iter().filter(|d| d.voiced).count();
3719+ let nlsf_int = if !sd.is_empty() {
3720+ sd.iter().map(|d| d.nlsf_interp).max().unwrap_or(0)
3721+ } else { 0 };
3722+ let avg_b_o: f64 = if !sd.is_empty() {
3723+ sd.iter().map(|d| d.bytes as f64).sum::<f64>() / sd.len() as f64
3724+ } else { 0.0 };
3725+ let ref_f0 = f0.min(ref_payload.len());
3726+ let ref_f1 = f1.min(ref_payload.len());
3727+ let avg_b_r: f64 = if ref_f1 > ref_f0 {
3728+ ref_payload[ref_f0..ref_f1].iter().map(|&b| b as f64).sum::<f64>()
3729+ / (ref_f1 - ref_f0) as f64
3730+ } else { 0.0 };
3731+ let ltp_mean: f64 = if !sd.is_empty() {
3732+ sd.iter().map(|d| d.ltp_gain as f64).sum::<f64>() / sd.len() as f64
3733+ } else { 0.0 };
3734+ let pitch_mean: f64 = if !sd.is_empty() {
3735+ sd.iter().filter(|d| d.voiced).map(|d| d.pitch_l[0] as f64).sum::<f64>()
3736+ / sd.iter().filter(|d| d.voiced).count().max(1) as f64
3737+ } else { 0.0 };
3738+ out_str.push_str(&format!(
3739+ "{}\t{:.4}\t{:.4}\t{:+.4}\t{:.1}\t{}\t{}\t{:.1}\t{:.1}\t{:.3}\t{:.1}\n",
3740+ s, co, cr, g, gain_mean, voiced_n, nlsf_int, avg_b_o, avg_b_r, ltp_mean, pitch_mean
3741+ ));
3742+ }
3743+
3744+ // Top 10 worst seconds by gap with per-frame SILK diag.
3745+ out_str.push_str("\n# --- 10 worst seconds by gap (per-frame SILK diag) ---\n");
3746+ out_str.push_str("# frame\tt_ms\tB_o\tB_r\tvoiced\tsig_type\tgain[0]\tlag_idx\tpitch_l\tnlsf_int\tltp_gain\tnb_subfr\n");
3747+ for &(s, _co, _cr, g) in sorted.iter().take(10) {
3748+ let f0 = s * frames_per_sec;
3749+ let f1 = ((s + 1) * frames_per_sec).min(diags.len());
3750+ out_str.push_str(&format!("# second {} gap={:+.4}\n", s, g));
3751+ for fi in f0..f1.min(diags.len()) {
3752+ let d = &diags[fi];
3753+ let b_ref = ref_payload.get(fi).copied().unwrap_or(0);
3754+ out_str.push_str(&format!(
3755+ "{}\t{}\t{}\t{}\t{}\t{}\t{}\t{}\t{}\t{}\t{:.3}\t{}\n",
3756+ fi, fi * 20, d.bytes, b_ref,
3757+ d.voiced as u8, d.signal_type, d.gain_idx[0], d.lag_index,
3758+ d.pitch_l[0], d.nlsf_interp, d.ltp_gain, d.nb_subfr
3759+ ));
3760+ }
3761+ out_str.push('\n');
3762+ }
3763+
3764+ // Global stats.
3765+ out_str.push_str("# --- global stats ---\n");
3766+ let voiced_count = diags.iter().filter(|d| d.voiced).count();
3767+ out_str.push_str(&format!("# voiced frames: {}/{}\n", voiced_count, diags.len()));
3768+ let gain_hist: Vec<(i8, usize)> = {
3769+ let mut h = std::collections::HashMap::new();
3770+ for d in &diags { *h.entry(d.gain_idx[0]).or_insert(0) += 1; }
3771+ let mut v: Vec<_> = h.into_iter().collect();
3772+ v.sort();
3773+ v
3774+ };
3775+ out_str.push_str(&format!("# gain_idx[0] histogram: {:?}\n", gain_hist));
3776+ let nlsf_hist: Vec<(i32, usize)> = {
3777+ let mut h = std::collections::HashMap::new();
3778+ for d in &diags { *h.entry(d.nlsf_interp).or_insert(0) += 1; }
3779+ let mut v: Vec<_> = h.into_iter().collect();
3780+ v.sort();
3781+ v
3782+ };
3783+ out_str.push_str(&format!("# nlsf_interp histogram: {:?}\n", nlsf_hist));
3784+ let avg_b_ours: f64 = diags.iter().map(|d| d.bytes as f64).sum::<f64>() / diags.len().max(1) as f64;
3785+ let avg_b_ref: f64 = ref_payload.iter().map(|&b| b as f64).sum::<f64>() / ref_payload.len().max(1) as f64;
3786+ out_str.push_str(&format!("# avg bytes/frame: ours={:.1} ref={:.1}\n", avg_b_ours, avg_b_ref));
3787+ let ltp_mean_all: f64 = diags.iter().map(|d| d.ltp_gain as f64).sum::<f64>() / diags.len().max(1) as f64;
3788+ out_str.push_str(&format!("# mean ltp_gain: {:.4}\n", ltp_mean_all));
3789+
3790+ let out_path = lanes_dir.join("opus-silkq-r1.seconds.txt");
3791+ fs::write(&out_path, out_str).unwrap();
3792+ println!("wrote {}", out_path.display());
3793+}
3794+
3589 // ---------------------------------------------------------------------------3795 // ---------------------------------------------------------------------------
3590 // Harness: feed identical raw PCM (.sw, s16le interleaved) to our opus_compare3796 // Harness: feed identical raw PCM (.sw, s16le interleaved) to our opus_compare
3591 // so it can be checked against the C `opus_compare` tool on the SAME bytes.3797 // so it can be checked against the C `opus_compare` tool on the SAME bytes.
lanes/opus-silkq-r1.seconds.txtadded+655 -0
@@ -0,0 +1,655 @@
1+# reelm@12k SILK per-second diagnostic (r1)
2+# mono, 120s cap, 20ms frames, VBR constrained, 48kHz, Application::Voip
3+# total frames: ours=6000 ref=6001
4+# avg corr: ours=0.8197 ref=0.8010 gap=-0.0186 ref_kbps=12.0 ours_kbps=12.4
5+
6+# sec corr_o corr_r gap gain_idx_mean voiced_n nlsf_interp avg_B_o avg_B_r ltp_gain_mean pitch_l_mean
7+0 0.8247 0.8502 +0.0255 23.3 38 4 30.0 26.0 0.469 179.4
8+1 0.9198 0.9268 +0.0070 36.3 45 4 30.1 28.8 0.753 113.8
9+2 0.8531 0.9519 +0.0988 33.5 50 4 29.9 29.1 0.785 120.0
10+3 0.5669 0.9353 +0.3684 38.3 50 4 30.6 31.2 0.850 97.2
11+4 0.8177 0.9165 +0.0988 25.0 49 4 29.2 24.9 0.723 172.3
12+5 0.9809 0.8886 -0.0923 16.3 47 4 30.0 24.1 0.567 172.2
13+6 0.7734 0.6995 -0.0738 32.8 40 4 30.0 29.1 0.570 121.8
14+7 0.9481 0.9396 -0.0085 20.5 49 4 29.9 24.3 0.725 173.5
15+8 0.8356 0.6833 -0.1523 38.0 46 4 30.2 29.1 0.774 95.3
16+9 0.7899 0.8454 +0.0556 36.8 49 4 29.8 24.9 0.748 150.7
17+10 0.8553 0.8014 -0.0539 31.1 35 4 29.9 28.5 0.519 153.2
18+11 0.9439 0.9069 -0.0370 37.4 45 4 29.9 30.2 0.774 67.2
19+12 0.9410 0.9599 +0.0188 34.5 48 4 30.0 27.5 0.761 94.3
20+13 0.9281 0.9249 -0.0032 27.4 47 4 30.0 25.7 0.616 153.4
21+14 0.9621 0.9618 -0.0003 18.4 48 4 29.9 24.1 0.647 171.2
22+15 0.7875 0.7502 -0.0373 38.4 39 4 30.0 30.1 0.637 100.2
23+16 0.5570 0.2079 -0.3491 28.7 45 4 30.0 28.2 0.632 138.9
24+17 0.5736 0.2644 -0.3092 32.7 48 4 29.8 30.2 0.686 132.6
25+18 0.7159 0.3400 -0.3759 27.8 44 4 30.0 26.5 0.573 161.5
26+19 0.8888 0.7884 -0.1004 33.3 43 4 29.9 28.5 0.607 171.0
27+20 0.7558 0.3615 -0.3942 21.4 47 4 30.1 25.0 0.580 200.4
28+21 0.4141 0.9460 +0.5319 28.5 44 4 29.8 25.0 0.608 143.2
29+22 0.9322 0.9264 -0.0057 36.2 48 4 30.1 29.7 0.774 117.4
30+23 0.8556 0.8269 -0.0286 34.6 45 4 29.8 29.5 0.748 147.3
31+24 0.9114 0.9419 +0.0305 31.2 48 4 30.1 29.3 0.736 144.4
32+25 0.8961 0.8377 -0.0584 34.3 46 4 29.8 28.7 0.663 133.7
33+26 0.6878 0.8346 +0.1468 34.4 46 4 29.9 28.6 0.683 126.1
34+27 0.8907 0.9581 +0.0674 26.3 47 4 30.1 25.8 0.736 129.8
35+28 0.7228 0.5837 -0.1391 30.0 38 4 29.8 27.9 0.431 158.9
36+29 0.7742 0.6401 -0.1341 37.9 45 4 29.9 30.1 0.758 101.3
37+30 0.8782 0.7973 -0.0809 21.8 40 4 30.1 27.0 0.495 228.0
38+31 0.7263 0.4536 -0.2726 36.2 42 4 29.8 30.1 0.620 135.2
39+32 0.7227 0.5152 -0.2074 25.1 43 4 30.0 26.3 0.479 198.4
40+33 0.8002 0.7558 -0.0444 32.0 42 4 30.0 28.0 0.578 128.6
41+34 0.9353 0.9336 -0.0017 34.5 49 4 29.9 29.2 0.713 130.7
42+35 0.7784 0.6648 -0.1136 27.9 39 4 30.0 28.3 0.563 181.1
43+36 0.2867 0.4971 +0.2104 35.1 41 4 30.0 28.7 0.571 148.1
44+37 0.7839 0.7338 -0.0501 37.5 42 4 30.0 29.2 0.641 150.4
45+38 0.9043 0.8528 -0.0515 35.5 46 4 29.7 29.9 0.697 98.2
46+39 0.6942 0.9528 +0.2586 32.6 47 4 30.0 27.4 0.750 132.1
47+40 0.8157 0.7343 -0.0814 35.4 36 4 30.0 29.7 0.568 142.4
48+41 0.9648 0.9464 -0.0184 35.7 48 4 29.9 29.3 0.777 101.8
49+42 0.9616 0.9304 -0.0312 34.0 50 4 30.0 28.6 0.817 108.6
50+43 0.8211 0.6608 -0.1603 41.0 42 4 29.9 30.2 0.714 88.9
51+44 0.9500 0.9115 -0.0385 32.2 37 4 29.9 27.8 0.627 109.4
52+45 0.9727 0.9346 -0.0381 35.6 50 4 29.9 28.9 0.876 94.8
53+46 0.9174 0.9251 +0.0077 33.1 39 4 30.3 28.4 0.583 119.7
54+47 0.8824 0.8356 -0.0469 37.0 38 4 29.6 29.1 0.553 105.4
55+48 0.7033 0.6620 -0.0413 37.1 44 4 30.0 30.1 0.656 116.0
56+49 0.8185 0.7615 -0.0571 37.4 44 4 29.9 28.6 0.614 150.2
57+50 0.9593 0.9530 -0.0063 27.4 47 4 30.1 26.9 0.652 134.2
58+51 0.6141 0.9269 +0.3128 39.5 50 4 30.0 29.4 0.845 107.0
59+52 0.5787 0.7970 +0.2183 38.0 40 4 29.7 30.0 0.620 131.1
60+53 0.3918 0.3167 -0.0751 25.7 34 4 29.9 24.7 0.295 169.8
61+54 0.8613 0.8378 -0.0235 38.0 43 4 30.0 29.2 0.684 105.6
62+55 0.9282 0.9403 +0.0121 32.8 48 4 29.9 26.1 0.733 103.3
63+56 0.8919 0.9074 +0.0156 41.6 48 4 29.9 30.3 0.716 111.4
64+57 0.8958 0.8877 -0.0081 40.5 45 4 29.9 30.5 0.759 100.4
65+58 0.6867 0.9279 +0.2412 38.1 44 4 30.2 26.8 0.700 124.9
66+59 0.6639 0.6228 -0.0412 31.5 38 4 29.8 28.9 0.534 186.4
67+60 0.8885 0.8682 -0.0203 36.9 44 4 30.2 28.9 0.717 107.9
68+61 0.9123 0.8184 -0.0939 34.3 46 4 29.7 27.6 0.741 128.9
69+62 0.9189 0.9456 +0.0266 28.4 49 4 30.1 27.0 0.667 142.2
70+63 0.9281 0.9344 +0.0063 36.2 48 4 29.8 29.0 0.801 93.8
71+64 0.8017 0.8734 +0.0716 40.5 44 4 29.8 29.9 0.698 150.5
72+65 0.8081 0.9124 +0.1043 38.1 46 4 30.4 28.5 0.718 124.9
73+66 0.7671 0.9463 +0.1792 26.3 48 4 30.0 26.7 0.648 143.2
74+67 0.8860 0.9326 +0.0465 28.6 41 4 29.5 28.1 0.569 188.7
75+68 0.8851 0.8452 -0.0399 38.2 45 4 29.9 29.5 0.701 119.5
76+69 0.6321 0.9361 +0.3040 36.3 45 4 30.0 29.1 0.667 124.2
77+70 0.9286 0.9480 +0.0195 33.3 48 4 30.1 28.6 0.742 113.6
78+71 0.9244 0.9362 +0.0118 37.2 47 4 29.9 29.7 0.787 131.8
79+72 0.9428 0.9102 -0.0326 32.4 45 4 29.7 29.2 0.706 104.7
80+73 0.9506 0.9439 -0.0067 39.0 50 4 30.1 29.9 0.901 88.7
81+74 0.9256 0.9084 -0.0171 28.0 48 4 29.8 28.1 0.526 140.0
82+75 0.9336 0.9484 +0.0148 27.1 50 4 30.1 25.7 0.668 160.4
83+76 0.8474 0.8076 -0.0398 40.9 37 4 29.9 30.5 0.599 89.4
84+77 0.9612 0.9439 -0.0173 30.2 45 4 29.9 27.5 0.689 129.4
85+78 0.9306 0.9444 +0.0138 28.1 47 4 30.1 25.9 0.678 142.4
86+79 0.7988 0.7307 -0.0681 38.5 45 4 30.1 30.2 0.684 126.7
87+80 0.7712 0.6911 -0.0801 26.2 43 4 29.7 26.1 0.555 181.9
88+81 0.9580 0.9279 -0.0301 28.6 46 4 29.9 28.0 0.648 134.0
89+82 0.7799 0.7055 -0.0743 39.7 41 4 30.0 29.4 0.597 136.0
90+83 0.7745 0.7672 -0.0073 40.2 42 4 29.9 30.7 0.612 119.7
91+84 0.8723 0.8918 +0.0195 38.0 48 4 30.0 29.5 0.750 84.3
92+85 0.7744 0.6859 -0.0885 31.5 45 4 29.9 29.0 0.649 134.2
93+86 0.9394 0.9442 +0.0048 38.7 47 4 30.1 29.7 0.777 111.8
94+87 0.6874 0.7982 +0.1108 40.7 43 4 29.8 29.2 0.577 129.6
95+88 0.7890 0.5988 -0.1902 35.8 40 4 29.9 29.9 0.612 126.0
96+89 0.8913 0.8625 -0.0288 35.4 49 4 30.0 28.4 0.664 144.2
97+90 0.9782 0.9556 -0.0226 32.4 37 4 30.1 30.0 0.510 179.0
98+91 0.9731 0.9647 -0.0084 40.6 49 4 29.9 29.5 0.865 93.7
99+92 0.8500 0.8520 +0.0020 35.5 46 4 29.9 27.8 0.632 140.5
100+93 0.6905 0.5236 -0.1668 14.2 49 4 29.9 21.6 0.556 229.3
101+94 0.8003 0.7910 -0.0093 27.0 42 4 30.0 25.9 0.504 172.8
102+95 0.7230 0.5845 -0.1385 39.5 40 4 29.9 29.4 0.582 123.5
103+96 0.7994 0.6902 -0.1091 40.6 46 4 30.1 29.8 0.750 106.5
104+97 0.9464 0.9284 -0.0180 33.1 49 4 29.8 28.6 0.683 127.0
105+98 0.8912 0.8138 -0.0774 34.4 45 4 30.1 29.5 0.698 128.4
106+99 0.7576 0.7480 -0.0096 35.3 45 4 29.9 30.7 0.658 161.6
107+100 0.7547 0.5699 -0.1848 38.6 45 4 30.0 30.0 0.723 136.2
108+101 0.8651 0.8328 -0.0323 33.4 43 4 29.8 29.3 0.672 188.6
109+102 0.8473 0.7527 -0.0946 35.3 43 4 30.0 29.7 0.649 101.3
110+103 0.8296 0.7442 -0.0854 36.4 44 4 30.2 29.4 0.579 153.4
111+104 0.7923 0.7224 -0.0699 28.1 40 4 29.7 27.4 0.486 193.9
112+105 0.9536 0.9237 -0.0299 37.4 46 4 30.1 29.5 0.714 109.5
113+106 0.6510 0.8945 +0.2435 41.5 43 4 30.0 29.3 0.715 101.4
114+107 0.9480 0.9271 -0.0209 36.5 50 4 29.9 28.7 0.743 103.6
115+108 0.9425 0.8806 -0.0619 29.2 47 4 29.8 28.6 0.634 162.3
116+109 0.8979 0.9130 +0.0151 25.7 47 4 30.0 27.4 0.511 211.8
117+110 0.4876 0.4715 -0.0161 37.2 45 4 30.0 29.2 0.595 144.8
118+111 0.6997 0.5212 -0.1786 28.9 41 4 29.9 27.6 0.540 184.0
119+112 0.5363 0.9487 +0.4124 34.0 47 4 29.9 29.5 0.769 108.7
120+113 0.9393 0.9127 -0.0267 23.7 48 4 30.0 26.7 0.619 165.7
121+114 0.9759 0.9356 -0.0403 24.7 48 4 29.9 26.8 0.596 150.0
122+115 0.6325 0.4761 -0.1564 39.9 33 4 30.1 29.4 0.507 108.7
123+116 0.6736 0.6310 -0.0427 38.4 42 4 29.9 29.5 0.588 131.7
124+117 0.7680 0.5467 -0.2213 34.7 42 4 30.0 29.4 0.563 147.5
125+118 0.8985 0.8687 -0.0297 32.8 45 4 29.9 29.5 0.601 166.3
126+119 0.9527 0.9166 -0.0361 28.6 49 4 30.0 27.1 0.693 172.1
127+
128+# --- 10 worst seconds by gap (per-frame SILK diag) ---
129+# frame t_ms B_o B_r voiced sig_type gain[0] lag_idx pitch_l nlsf_int ltp_gain nb_subfr
130+# second 21 gap=+0.5319
131+1050 21000 24 24 1 2 34 120 151 4 0.180 4
132+1051 21020 31 25 1 2 25 176 207 4 0.180 4
133+1052 21040 32 30 1 2 17 21 53 4 0.180 4
134+1053 21060 25 21 1 2 14 181 212 4 0.180 4
135+1054 21080 24 18 1 2 11 186 217 4 0.180 4
136+1055 21100 36 20 1 2 8 255 286 4 0.789 4
137+1056 21120 26 20 0 0 9 0 0 4 0.000 4
138+1057 21140 33 26 1 2 11 216 247 4 0.961 4
139+1058 21160 27 22 1 2 13 212 243 4 0.992 4
140+1059 21180 29 20 1 2 10 210 241 4 0.930 4
141+1060 21200 32 22 1 2 10 206 237 4 0.180 4
142+1061 21220 29 22 1 2 9 247 278 4 0.180 4
143+1062 21240 30 18 1 2 9 200 231 4 0.633 4
144+1063 21260 34 21 1 2 9 80 111 4 0.180 4
145+1064 21280 29 25 1 2 10 80 111 4 0.789 4
146+1065 21300 28 16 1 2 10 107 138 4 0.180 4
147+1066 21320 27 17 1 2 9 212 243 4 0.180 4
148+1067 21340 32 16 0 0 19 0 0 4 0.000 4
149+1068 21360 25 16 1 2 12 84 115 4 0.938 4
150+1069 21380 35 20 1 2 8 236 267 4 0.180 4
151+1070 21400 30 15 0 0 7 0 0 4 0.000 4
152+1071 21420 34 17 1 2 9 156 187 4 0.922 4
153+1072 21440 30 16 1 2 8 172 203 4 0.180 4
154+1073 21460 26 24 0 1 20 0 0 4 0.000 4
155+1074 21480 27 30 0 1 36 0 0 4 0.000 4
156+1075 21500 38 30 0 0 34 0 0 4 0.000 4
157+1076 21520 27 32 1 2 32 251 282 4 0.180 4
158+1077 21540 52 32 1 2 38 253 284 4 0.922 4
159+1078 21560 16 35 1 2 63 42 76 4 0.852 4
160+1079 21580 14 30 1 2 63 46 78 4 0.984 4
161+1080 21600 30 28 1 2 52 47 79 4 0.938 4
162+1081 21620 41 23 1 2 43 49 80 4 0.969 4
163+1082 21640 34 28 1 2 53 51 83 4 0.977 4
164+1083 21660 14 34 1 2 63 51 82 4 0.789 4
165+1084 21680 17 33 1 2 10 47 77 4 0.938 4
166+1085 21700 50 33 1 2 28 43 75 4 0.852 4
167+1086 21720 23 30 1 2 41 45 77 4 0.992 4
168+1087 21740 42 29 1 2 38 46 78 4 0.969 4
169+1088 21760 34 28 1 2 44 47 79 4 0.984 4
170+1089 21780 24 28 1 2 44 48 79 4 0.938 4
171+1090 21800 35 32 1 2 44 48 79 4 0.938 4
172+1091 21820 30 20 1 2 42 49 80 4 0.938 4
173+1092 21840 31 33 1 2 39 47 79 4 0.852 4
174+1093 21860 29 36 1 2 41 49 80 4 0.852 4
175+1094 21880 30 27 1 2 40 49 80 4 0.852 4
176+1095 21900 34 25 1 2 41 49 81 4 0.789 4
177+1096 21920 16 34 1 2 57 51 82 4 0.938 4
178+1097 21940 16 30 1 2 53 52 83 4 0.938 4
179+1098 21960 41 22 1 2 42 53 84 4 0.969 4
180+1099 21980 38 19 1 2 44 53 84 4 0.969 4
181+
182+# second 112 gap=+0.4124
183+5600 112000 32 20 1 2 10 138 169 4 0.180 4
184+5601 112020 30 22 1 2 11 241 272 4 0.984 4
185+5602 112040 26 22 1 2 12 237 268 4 0.633 4
186+5603 112060 33 21 1 2 29 159 190 4 1.039 4
187+5604 112080 31 36 1 2 37 49 80 4 0.852 4
188+5605 112100 28 34 1 2 38 52 83 4 0.969 4
189+5606 112120 31 36 1 2 42 53 84 4 0.852 4
190+5607 112140 33 28 1 2 37 53 84 4 0.938 4
191+5608 112160 28 32 1 2 34 53 84 4 0.852 4
192+5609 112180 31 30 1 2 31 49 81 4 0.789 4
193+5610 112200 25 25 1 2 29 219 250 4 0.789 4
194+5611 112220 32 25 1 2 29 216 247 4 0.961 4
195+5612 112240 41 42 1 2 36 50 81 4 0.938 4
196+5613 112260 28 36 1 2 42 56 87 4 0.938 4
197+5614 112280 25 38 1 2 41 60 91 4 0.992 4
198+5615 112300 27 30 1 2 41 59 90 4 0.977 4
199+5616 112320 32 31 1 2 44 59 90 4 0.992 4
200+5617 112340 31 31 1 2 38 57 88 4 0.938 4
201+5618 112360 34 35 1 2 40 56 87 4 0.938 4
202+5619 112380 24 33 1 2 40 55 86 4 0.969 4
203+5620 112400 29 27 1 2 37 56 87 4 0.633 4
204+5621 112420 29 31 1 2 35 39 69 4 0.961 4
205+5622 112440 34 35 1 2 41 52 83 4 0.852 4
206+5623 112460 36 32 1 2 47 54 85 4 0.969 4
207+5624 112480 14 25 1 2 63 54 85 4 0.984 4
208+5625 112500 37 21 1 2 12 52 83 4 0.852 4
209+5626 112520 40 24 1 2 40 51 82 4 0.938 4
210+5627 112540 22 27 1 2 48 50 81 4 0.938 4
211+5628 112560 35 29 1 2 46 49 81 4 0.992 4
212+5629 112580 24 23 1 2 48 47 79 4 0.977 4
213+5630 112600 42 24 1 2 47 45 77 4 0.969 4
214+5631 112620 22 26 1 2 58 43 75 4 0.977 4
215+5632 112640 29 31 1 2 45 41 75 4 0.992 4
216+5633 112660 29 33 1 2 42 39 71 4 0.938 4
217+5634 112680 28 34 1 2 38 38 69 4 0.852 4
218+5635 112700 30 29 1 2 28 38 70 4 0.789 4
219+5636 112720 27 20 1 2 20 37 69 4 0.789 4
220+5637 112740 30 28 1 2 20 111 142 4 0.180 4
221+5638 112760 23 32 1 2 25 254 285 4 0.852 4
222+5639 112780 36 33 0 0 23 0 0 4 0.000 4
223+5640 112800 27 32 1 2 27 255 286 4 0.984 4
224+5641 112820 28 30 1 2 28 255 286 4 0.930 4
225+5642 112840 35 30 0 0 27 0 0 4 0.000 4
226+5643 112860 26 31 0 1 28 0 0 4 0.000 4
227+5644 112880 31 30 1 2 29 3 36 4 0.922 4
228+5645 112900 32 32 1 2 28 0 33 4 0.180 4
229+5646 112920 29 32 1 2 28 0 32 4 0.180 4
230+5647 112940 28 33 1 2 29 0 33 4 0.930 4
231+5648 112960 35 24 1 2 26 0 32 4 0.180 4
232+5649 112980 26 31 1 2 28 1 33 4 0.180 4
233+
234+# second 3 gap=+0.3684
235+150 3000 29 31 1 2 34 40 73 4 0.789 4
236+151 3020 33 33 1 2 40 39 71 4 0.938 4
237+152 3040 32 34 1 2 44 39 70 4 0.180 4
238+153 3060 25 29 1 2 50 40 70 4 0.984 4
239+154 3080 31 29 1 2 48 40 72 4 0.969 4
240+155 3100 33 33 1 2 43 40 72 4 0.938 4
241+156 3120 21 32 1 2 41 39 71 4 0.180 4
242+157 3140 31 22 1 2 38 39 71 4 0.180 4
243+158 3160 33 29 1 2 35 42 74 4 0.789 4
244+159 3180 28 34 1 2 30 48 80 4 0.852 4
245+160 3200 29 33 1 2 44 44 76 4 0.992 4
246+161 3220 31 29 1 2 40 44 76 4 0.938 4
247+162 3240 29 22 1 2 40 46 78 4 0.938 4
248+163 3260 34 24 1 2 37 50 81 4 0.852 4
249+164 3280 27 26 1 2 34 52 83 4 0.852 4
250+165 3300 29 22 1 2 33 51 82 4 0.180 4
251+166 3320 29 35 1 2 32 50 81 4 0.180 4
252+167 3340 26 31 1 2 37 51 82 4 0.789 4
253+168 3360 31 37 1 2 37 51 82 4 0.852 4
254+169 3380 30 34 1 2 34 54 85 4 0.969 4
255+170 3400 34 40 1 2 37 51 83 4 0.789 4
256+171 3420 28 31 1 2 36 52 83 4 0.836 4
257+172 3440 27 30 1 2 33 52 83 4 0.922 4
258+173 3460 36 34 1 2 31 53 84 4 0.992 4
259+174 3480 24 32 1 2 31 54 85 4 0.930 4
260+175 3500 29 31 1 2 34 51 82 4 0.984 4
261+176 3520 32 33 1 2 37 50 81 4 0.977 4
262+177 3540 32 32 1 2 34 49 81 4 0.992 4
263+178 3560 30 30 1 2 36 47 79 4 0.992 4
264+179 3580 31 34 1 2 36 48 79 4 0.984 4
265+180 3600 29 31 1 2 36 47 79 4 0.930 4
266+181 3620 33 39 1 2 38 47 79 4 0.922 4
267+182 3640 28 35 1 2 38 47 80 4 0.992 4
268+183 3660 30 32 1 2 40 46 78 4 0.992 4
269+184 3680 31 32 1 2 42 47 79 4 0.992 4
270+185 3700 23 31 1 2 43 50 81 4 0.938 4
271+186 3720 36 34 1 2 40 51 82 4 0.938 4
272+187 3740 15 31 1 2 63 51 82 4 0.938 4
273+188 3760 50 33 1 2 15 53 84 4 0.938 4
274+189 3780 24 32 1 2 43 55 86 4 0.969 4
275+190 3800 38 29 1 2 40 57 88 4 0.930 4
276+191 3820 29 32 1 2 41 146 177 4 0.938 4
277+192 3840 35 29 1 2 39 150 181 4 0.984 4
278+193 3860 23 27 1 2 43 151 182 4 0.789 4
279+194 3880 35 36 1 2 41 153 184 4 0.992 4
280+195 3900 32 33 1 2 43 149 180 4 0.938 4
281+196 3920 14 26 1 2 63 147 178 4 0.938 4
282+197 3940 68 31 1 2 19 146 177 4 0.969 4
283+198 3960 15 30 1 2 63 145 176 4 0.789 4
284+199 3980 48 30 1 2 11 144 175 4 0.969 4
285+
286+# second 51 gap=+0.3128
287+2550 51000 14 34 1 2 60 39 71 4 0.969 4
288+2551 51020 50 32 1 2 57 41 73 4 0.969 4
289+2552 51040 18 30 1 2 63 42 76 4 0.969 4
290+2553 51060 37 34 1 2 49 43 75 4 0.969 4
291+2554 51080 35 34 1 2 47 43 76 4 0.992 4
292+2555 51100 28 28 1 2 46 42 74 4 0.969 4
293+2556 51120 26 26 1 2 44 41 74 4 0.852 4
294+2557 51140 22 23 1 2 39 41 76 4 0.992 4
295+2558 51160 35 30 1 2 39 40 73 4 0.852 4
296+2559 51180 29 27 1 2 41 39 71 4 0.852 4
297+2560 51200 39 24 1 2 36 39 71 4 0.852 4
298+2561 51220 21 33 1 2 40 38 70 4 0.852 4
299+2562 51240 29 19 1 2 38 37 69 4 0.852 4
300+2563 51260 29 28 1 2 38 37 69 4 0.961 4
301+2564 51280 35 25 1 2 37 37 69 4 0.836 4
302+2565 51300 29 22 1 2 36 37 69 4 0.836 4
303+2566 51320 32 26 1 2 37 38 70 4 0.930 4
304+2567 51340 33 38 1 2 33 39 71 4 0.789 4
305+2568 51360 24 35 1 2 32 40 75 4 0.969 4
306+2569 51380 33 25 1 2 25 38 71 4 0.180 4
307+2570 51400 24 20 1 2 18 40 75 4 0.789 4
308+2571 51420 32 35 1 2 25 145 176 4 1.039 4
309+2572 51440 23 28 1 2 45 241 272 4 0.922 4
310+2573 51460 36 32 1 2 44 244 275 4 0.938 4
311+2574 51480 30 28 1 2 42 28 60 4 0.938 4
312+2575 51500 29 29 1 2 38 41 76 4 0.992 4
313+2576 51520 31 36 1 2 28 47 79 4 0.789 4
314+2577 51540 30 28 1 2 24 45 77 4 0.992 4
315+2578 51560 31 27 1 2 17 226 257 4 0.180 4
316+2579 51580 28 20 1 2 15 195 226 4 0.180 4
317+2580 51600 32 31 1 2 38 23 53 4 0.938 4
318+2581 51620 30 39 1 2 44 39 69 4 0.938 4
319+2582 51640 28 36 1 2 45 46 76 4 0.992 4
320+2583 51660 33 23 1 2 46 48 79 4 0.969 4
321+2584 51680 29 21 1 2 43 48 79 4 0.992 4
322+2585 51700 28 25 1 2 44 47 79 4 0.984 4
323+2586 51720 31 29 1 2 46 46 78 4 0.984 4
324+2587 51740 33 38 1 2 43 48 79 4 0.852 4
325+2588 51760 30 40 1 2 33 47 79 4 0.992 4
326+2589 51780 30 33 1 2 37 47 77 4 0.852 4
327+2590 51800 28 28 1 2 33 43 76 4 0.836 4
328+2591 51820 30 31 1 2 29 226 257 4 0.961 4
329+2592 51840 37 34 1 2 39 51 83 4 0.938 4
330+2593 51860 22 23 1 2 45 52 83 4 0.852 4
331+2594 51880 24 25 1 2 43 57 88 4 1.039 4
332+2595 51900 56 33 1 2 37 57 88 4 0.789 4
333+2596 51920 18 35 1 2 54 229 260 4 0.180 4
334+2597 51940 15 25 1 2 63 200 231 4 0.992 4
335+2598 51960 15 36 1 2 63 210 241 4 0.180 4
336+2599 51980 61 31 1 2 15 146 177 4 0.789 4
337+
338+# second 69 gap=+0.3040
339+3450 69000 30 34 1 2 34 220 251 4 0.180 4
340+3451 69020 32 21 1 2 31 30 62 4 0.992 4
341+3452 69040 50 33 1 2 36 42 75 4 0.930 4
342+3453 69060 22 27 1 2 45 46 78 4 0.992 4
343+3454 69080 35 31 1 2 46 48 79 4 0.977 4
344+3455 69100 14 23 1 2 54 48 80 4 0.938 4
345+3456 69120 16 32 1 2 63 49 80 4 0.938 4
346+3457 69140 35 23 1 2 49 48 80 4 0.938 4
347+3458 69160 41 31 1 2 42 48 79 4 0.938 4
348+3459 69180 15 22 1 2 58 48 80 4 0.938 4
349+3460 69200 56 24 1 2 45 48 79 4 0.938 4
350+3461 69220 19 28 1 2 45 48 79 4 0.938 4
351+3462 69240 29 32 1 2 40 47 79 4 0.984 4
352+3463 69260 28 25 1 2 42 47 79 4 0.938 4
353+3464 69280 21 36 1 2 44 46 78 4 0.969 4
354+3465 69300 39 31 1 2 45 46 78 4 1.039 4
355+3466 69320 35 27 1 2 43 46 78 4 0.984 4
356+3467 69340 28 34 1 2 42 47 81 4 0.930 4
357+3468 69360 27 34 1 2 38 134 165 4 0.984 4
358+3469 69380 27 23 1 2 29 226 257 4 0.836 4
359+3470 69400 26 21 1 2 26 222 253 4 0.180 4
360+3471 69420 41 25 1 2 15 227 258 4 0.180 4
361+3472 69440 27 23 1 2 14 24 54 4 0.992 4
362+3473 69460 30 32 1 2 33 122 153 4 0.852 4
363+3474 69480 32 37 1 2 36 47 79 4 0.922 4
364+3475 69500 29 38 1 2 31 46 78 4 0.180 4
365+3476 69520 27 29 1 2 31 47 80 4 0.852 4
366+3477 69540 27 26 1 2 31 48 79 4 0.852 4
367+3478 69560 32 37 1 2 31 47 81 4 0.180 4
368+3479 69580 25 37 0 1 39 0 0 4 0.000 4
369+3480 69600 37 32 1 2 42 244 275 4 0.180 4
370+3481 69620 29 30 1 2 42 242 273 4 0.180 4
371+3482 69640 26 31 1 2 44 241 272 4 0.938 4
372+3483 69660 33 32 0 0 41 0 0 4 0.000 4
373+3484 69680 33 32 1 2 37 39 70 4 0.852 4
374+3485 69700 29 26 1 2 37 42 73 4 0.852 4
375+3486 69720 31 30 1 2 30 242 273 4 0.180 4
376+3487 69740 27 26 1 2 19 41 73 4 0.180 4
377+3488 69760 28 21 1 2 13 236 267 4 0.180 4
378+3489 69780 35 18 1 2 11 146 177 4 0.961 4
379+3490 69800 26 29 1 2 26 68 99 4 0.969 4
380+3491 69820 32 35 1 2 32 39 69 4 0.852 4
381+3492 69840 32 33 1 2 36 45 77 4 0.969 4
382+3493 69860 31 30 1 2 35 54 85 4 0.789 4
383+3494 69880 28 23 1 2 22 50 81 4 0.789 4
384+3495 69900 28 27 0 0 24 0 0 4 0.000 4
385+3496 69920 26 38 0 1 41 0 0 4 0.000 4
386+3497 69940 34 34 1 2 42 242 273 4 0.836 4
387+3498 69960 30 31 0 1 45 0 0 4 0.000 4
388+3499 69980 30 23 1 2 37 4 38 4 0.180 4
389+
390+# second 39 gap=+0.2586
391+1950 39000 36 28 1 2 27 110 141 4 0.992 4
392+1951 39020 34 35 1 2 35 45 76 4 0.992 4
393+1952 39040 24 28 1 2 42 47 79 4 0.180 4
394+1953 39060 27 32 1 2 39 49 81 4 0.938 4
395+1954 39080 33 30 1 2 39 49 80 4 0.852 4
396+1955 39100 32 28 1 2 38 50 81 4 0.852 4
397+1956 39120 32 35 1 2 39 50 81 4 0.984 4
398+1957 39140 34 33 1 2 42 51 82 4 0.938 4
399+1958 39160 27 24 1 2 46 54 85 4 0.922 4
400+1959 39180 31 36 1 2 40 55 86 4 0.922 4
401+1960 39200 32 31 1 2 37 53 84 4 0.180 4
402+1961 39220 28 32 1 2 36 242 273 4 0.180 4
403+1962 39240 31 26 1 2 24 238 269 4 0.180 4
404+1963 39260 23 26 0 0 24 0 0 4 0.000 4
405+1964 39280 26 22 0 0 28 0 0 4 0.000 4
406+1965 39300 35 29 1 2 32 220 251 4 0.938 4
407+1966 39320 29 34 0 0 34 0 0 4 0.000 4
408+1967 39340 32 34 1 2 39 48 80 4 0.789 4
409+1968 39360 29 35 1 2 40 52 83 4 0.992 4
410+1969 39380 30 28 1 2 37 53 84 4 0.836 4
411+1970 39400 32 27 1 2 37 54 85 4 0.852 4
412+1971 39420 40 31 1 2 39 56 87 4 0.852 4
413+1972 39440 28 23 1 2 43 57 88 4 0.852 4
414+1973 39460 29 30 1 2 42 57 88 4 0.938 4
415+1974 39480 15 26 1 2 63 59 90 4 0.992 4
416+1975 39500 36 24 1 2 12 58 89 4 0.969 4
417+1976 39520 32 27 1 2 38 57 88 4 0.977 4
418+1977 39540 34 20 1 2 38 56 87 4 0.938 4
419+1978 39560 25 22 1 2 36 56 87 4 0.969 4
420+1979 39580 29 21 1 2 36 56 87 4 0.969 4
421+1980 39600 44 31 1 2 39 219 250 4 0.938 4
422+1981 39620 21 34 1 2 46 143 174 4 0.852 4
423+1982 39640 26 32 1 2 43 155 186 4 0.938 4
424+1983 39660 35 22 1 2 42 142 173 4 0.789 4
425+1984 39680 28 28 1 2 34 106 137 4 0.938 4
426+1985 39700 29 28 1 2 32 105 136 4 0.984 4
427+1986 39720 26 28 1 2 30 35 67 4 0.930 4
428+1987 39740 34 27 1 2 23 221 252 4 0.969 4
429+1988 39760 30 24 1 2 22 193 224 4 0.180 4
430+1989 39780 24 22 1 2 13 189 220 4 0.180 4
431+1990 39800 33 20 1 2 13 26 61 4 0.789 4
432+1991 39820 29 21 1 2 10 237 268 4 0.180 4
433+1992 39840 27 21 1 2 9 129 160 4 0.180 4
434+1993 39860 28 21 1 2 8 230 261 4 0.992 4
435+1994 39880 29 22 1 2 7 174 205 4 0.836 4
436+1995 39900 30 17 1 2 5 234 265 4 0.992 4
437+1996 39920 36 22 1 2 29 24 56 4 0.969 4
438+1997 39940 37 39 1 2 37 47 79 4 0.984 4
439+1998 39960 23 35 1 2 44 49 80 4 0.969 4
440+1999 39980 28 21 1 2 44 50 81 4 0.938 4
441+
442+# second 106 gap=+0.2435
443+5300 106000 22 24 1 2 48 48 79 4 0.852 4
444+5301 106020 33 27 1 2 44 48 79 4 0.852 4
445+5302 106040 26 26 1 2 48 49 81 4 0.938 4
446+5303 106060 29 34 1 2 49 51 82 4 0.969 4
447+5304 106080 32 30 1 2 46 50 82 4 0.938 4
448+5305 106100 32 34 1 2 45 49 80 4 0.969 4
449+5306 106120 30 34 1 2 45 47 79 4 0.969 4
450+5307 106140 41 32 1 2 45 47 80 4 0.977 4
451+5308 106160 19 34 1 2 39 47 79 4 0.969 4
452+5309 106180 29 31 1 2 45 43 77 4 0.992 4
453+5310 106200 33 33 1 2 45 45 78 4 0.992 4
454+5311 106220 36 25 1 2 48 49 80 4 0.984 4
455+5312 106240 29 23 1 2 50 51 82 4 0.969 4
456+5313 106260 47 24 1 2 52 50 81 4 0.938 4
457+5314 106280 24 25 1 2 48 50 81 4 0.938 4
458+5315 106300 18 32 1 2 43 47 79 4 0.852 4
459+5316 106320 28 30 1 2 41 48 79 4 0.938 4
460+5317 106340 29 29 1 2 37 48 79 4 0.922 4
461+5318 106360 25 41 1 2 40 49 80 4 0.984 4
462+5319 106380 34 31 1 2 41 50 82 4 0.938 4
463+5320 106400 27 29 1 2 41 50 81 4 0.938 4
464+5321 106420 30 36 1 2 34 51 82 4 0.984 4
465+5322 106440 29 34 0 0 43 0 0 4 0.000 4
466+5323 106460 21 27 1 2 44 248 279 4 0.180 4
467+5324 106480 40 27 0 1 45 0 0 4 0.000 4
468+5325 106500 25 23 1 2 35 225 256 4 0.180 4
469+5326 106520 30 24 1 2 21 126 157 4 0.180 4
470+5327 106540 34 32 1 2 23 0 33 4 0.969 4
471+5328 106560 28 35 0 1 37 0 0 4 0.000 4
472+5329 106580 29 32 1 2 41 227 258 4 0.180 4
473+5330 106600 32 31 1 2 38 227 258 4 0.992 4
474+5331 106620 25 33 1 2 39 31 62 4 0.180 4
475+5332 106640 36 37 1 2 38 43 76 4 0.922 4
476+5333 106660 14 30 1 2 60 48 79 4 0.969 4
477+5334 106680 77 29 1 2 53 48 79 4 0.984 4
478+5335 106700 15 31 1 2 63 47 79 4 0.977 4
479+5336 106720 15 23 1 2 62 46 78 4 0.969 4
480+5337 106740 16 28 1 2 63 47 79 4 0.992 4
481+5338 106760 84 29 1 2 5 49 81 4 0.852 4
482+5339 106780 16 33 1 2 37 47 79 4 0.789 4
483+5340 106800 15 29 1 2 28 47 79 4 0.789 4
484+5341 106820 20 28 0 1 27 0 0 4 0.000 4
485+5342 106840 24 29 0 1 35 0 0 4 0.000 4
486+5343 106860 30 15 1 2 16 241 272 4 0.180 4
487+5344 106880 32 28 0 1 17 0 0 4 0.000 4
488+5345 106900 31 31 0 1 37 0 0 4 0.000 4
489+5346 106920 31 33 1 2 46 44 76 4 0.938 4
490+5347 106940 27 29 1 2 48 46 80 4 0.938 4
491+5348 106960 54 23 1 2 50 47 81 4 0.938 4
492+5349 106980 15 19 1 2 52 47 79 4 0.852 4
493+
494+# second 58 gap=+0.2412
495+2900 58000 28 28 1 2 46 37 70 4 0.969 4
496+2901 58020 35 36 1 2 42 38 69 4 0.938 4
497+2902 58040 35 31 1 2 31 39 73 4 0.938 4
498+2903 58060 26 25 0 0 40 0 0 4 0.000 4
499+2904 58080 26 32 1 2 44 116 147 4 0.180 4
500+2905 58100 29 32 1 2 46 247 278 4 0.180 4
501+2906 58120 28 29 0 0 43 0 0 4 0.000 4
502+2907 58140 34 28 0 0 37 0 0 4 0.000 4
503+2908 58160 28 29 0 0 33 0 0 4 0.000 4
504+2909 58180 35 27 1 2 28 213 244 4 0.180 4
505+2910 58200 31 28 0 0 26 0 0 4 0.000 4
506+2911 58220 32 23 1 2 36 33 62 4 0.930 4
507+2912 58240 28 28 1 2 43 40 71 4 0.984 4
508+2913 58260 37 25 1 2 45 43 76 4 0.969 4
509+2914 58280 27 25 1 2 48 44 76 4 1.039 4
510+2915 58300 28 23 1 2 45 46 78 4 0.992 4
511+2916 58320 31 22 1 2 48 46 78 4 0.992 4
512+2917 58340 14 20 1 2 61 47 79 4 0.984 4
513+2918 58360 16 28 1 2 63 48 80 4 0.984 4
514+2919 58380 57 21 1 2 56 49 80 4 0.992 4
515+2920 58400 52 19 1 2 46 50 81 4 0.992 4
516+2921 58420 13 20 1 2 63 50 81 4 0.969 4
517+2922 58440 34 26 1 2 55 50 81 4 0.992 4
518+2923 58460 20 22 1 2 50 50 81 4 0.969 4
519+2924 58480 35 33 1 2 41 49 80 4 0.938 4
520+2925 58500 31 25 1 2 38 47 80 4 0.852 4
521+2926 58520 23 22 1 2 38 45 77 4 0.922 4
522+2927 58540 24 35 1 2 47 49 80 4 0.992 4
523+2928 58560 44 29 1 2 41 159 190 4 0.180 4
524+2929 58580 24 28 1 2 35 250 281 4 0.180 4
525+2930 58600 27 27 1 2 25 207 238 4 0.180 4
526+2931 58620 26 25 1 2 17 165 196 4 0.180 4
527+2932 58640 35 21 1 2 14 241 272 4 0.180 4
528+2933 58660 28 26 1 2 14 237 268 4 0.180 4
529+2934 58680 26 24 0 0 13 0 0 4 0.000 4
530+2935 58700 35 20 1 2 13 218 249 4 0.852 4
531+2936 58720 26 19 1 2 14 221 252 4 0.836 4
532+2937 58740 36 32 1 2 20 217 248 4 0.984 4
533+2938 58760 29 32 1 2 22 39 69 4 0.938 4
534+2939 58780 31 27 1 2 21 42 77 4 0.836 4
535+2940 58800 23 22 1 2 20 208 239 4 0.789 4
536+2941 58820 35 29 1 2 33 39 71 4 0.992 4
537+2942 58840 39 36 1 2 39 43 77 4 0.938 4
538+2943 58860 24 28 1 2 45 45 77 4 0.984 4
539+2944 58880 28 33 1 2 49 46 78 4 0.984 4
540+2945 58900 31 27 1 2 47 48 79 4 0.969 4
541+2946 58920 36 27 1 2 44 50 81 4 0.969 4
542+2947 58940 34 29 1 2 47 51 82 4 0.938 4
543+2948 58960 27 32 1 2 48 52 83 4 0.992 4
544+2949 58980 27 26 1 2 47 56 87 4 1.039 4
545+
546+# second 52 gap=+0.2183
547+2600 52000 16 33 1 2 63 125 156 4 0.938 4
548+2601 52020 41 33 1 2 7 196 227 4 0.789 4
549+2602 52040 31 33 1 2 40 180 211 4 0.969 4
550+2603 52060 31 36 1 2 38 186 217 4 0.992 4
551+2604 52080 39 39 1 2 50 107 138 4 0.992 4
552+2605 52100 23 31 1 2 46 106 137 4 0.938 4
553+2606 52120 23 33 1 2 44 102 133 4 0.938 4
554+2607 52140 26 29 1 2 38 173 204 4 0.180 4
555+2608 52160 30 26 1 2 29 206 237 4 0.180 4
556+2609 52180 27 27 1 2 26 247 278 4 0.969 4
557+2610 52200 32 33 1 2 27 245 276 4 0.180 4
558+2611 52220 30 18 1 2 19 246 277 4 0.180 4
559+2612 52240 29 28 1 2 26 10 43 4 0.969 4
560+2613 52260 34 22 1 2 14 203 234 4 0.180 4
561+2614 52280 26 20 1 2 10 227 258 4 0.180 4
562+2615 52300 34 19 1 2 12 223 254 4 0.930 4
563+2616 52320 20 23 0 1 20 0 0 4 0.000 4
564+2617 52340 37 30 1 2 42 40 74 4 0.961 4
565+2618 52360 26 29 1 2 44 40 71 4 0.984 4
566+2619 52380 32 33 1 2 42 42 75 4 0.992 4
567+2620 52400 30 29 1 2 44 44 75 4 0.992 4
568+2621 52420 36 36 1 2 39 46 79 4 0.992 4
569+2622 52440 30 29 1 2 38 43 75 4 0.922 4
570+2623 52460 30 33 1 2 39 44 77 4 0.180 4
571+2624 52480 27 25 1 2 35 45 77 4 0.852 4
572+2625 52500 30 24 1 2 36 45 77 4 0.938 4
573+2626 52520 30 25 1 2 35 45 77 4 0.836 4
574+2627 52540 31 29 1 2 39 45 77 4 0.938 4
575+2628 52560 28 22 1 2 34 47 79 4 0.852 4
576+2629 52580 33 29 1 2 30 47 79 4 0.789 4
577+2630 52600 27 34 1 2 28 46 79 4 0.836 4
578+2631 52620 29 35 0 0 32 0 0 4 0.000 4
579+2632 52640 26 36 0 1 44 0 0 4 0.000 4
580+2633 52660 31 36 0 1 50 0 0 4 0.000 4
581+2634 52680 32 30 1 2 51 230 261 4 0.180 4
582+2635 52700 29 34 0 1 51 0 0 4 0.000 4
583+2636 52720 24 32 0 1 51 0 0 4 0.000 4
584+2637 52740 38 29 0 0 50 0 0 4 0.000 4
585+2638 52760 26 32 0 1 50 0 0 4 0.000 4
586+2639 52780 27 28 0 0 48 0 0 4 0.000 4
587+2640 52800 36 35 1 2 44 31 60 4 0.852 4
588+2641 52820 31 30 1 2 42 37 69 4 0.977 4
589+2642 52840 32 32 1 2 43 36 69 4 0.938 4
590+2643 52860 28 37 1 2 43 43 75 4 0.992 4
591+2644 52880 25 30 1 2 40 48 82 4 0.938 4
592+2645 52900 32 26 0 0 42 0 0 4 0.000 4
593+2646 52920 26 34 1 2 49 34 65 4 0.992 4
594+2647 52940 33 39 1 2 46 36 69 4 0.789 4
595+2648 52960 34 24 1 2 44 37 69 4 0.836 4
596+2649 52980 29 30 1 2 46 40 72 4 0.938 4
597+
598+# second 36 gap=+0.2104
599+1800 36000 24 23 0 0 43 0 0 4 0.000 4
600+1801 36020 40 33 1 2 38 42 71 4 0.789 4
601+1802 36040 35 25 1 2 41 47 79 4 0.789 4
602+1803 36060 41 27 1 2 50 49 80 4 0.938 4
603+1804 36080 14 32 1 2 55 49 80 4 0.852 4
604+1805 36100 12 33 1 2 63 53 84 4 0.180 4
605+1806 36120 15 30 1 2 16 124 155 4 0.180 4
606+1807 36140 52 28 1 2 28 48 79 4 0.969 4
607+1808 36160 36 20 0 0 28 0 0 4 0.000 4
608+1809 36180 28 19 1 2 20 246 277 4 0.180 4
609+1810 36200 28 22 0 0 27 0 0 4 0.000 4
610+1811 36220 33 24 1 2 32 52 83 4 0.992 4
611+1812 36240 36 34 1 2 31 49 80 4 0.992 4
612+1813 36260 35 35 1 2 36 52 83 4 0.938 4
613+1814 36280 30 31 1 2 42 53 84 4 0.789 4
614+1815 36300 24 35 1 2 37 56 87 4 0.922 4
615+1816 36320 27 35 1 2 35 192 223 4 0.180 4
616+1817 36340 32 19 1 2 23 188 219 4 0.180 4
617+1818 36360 29 23 1 2 21 0 32 4 0.930 4
618+1819 36380 26 29 1 2 35 0 32 4 0.180 4
619+1820 36400 26 33 1 2 35 237 268 4 0.789 4
620+1821 36420 35 34 0 1 42 0 0 4 0.000 4
621+1822 36440 30 32 1 2 47 249 280 4 0.180 4
622+1823 36460 30 31 1 2 45 250 281 4 0.180 4
623+1824 36480 31 32 1 2 46 251 282 4 0.836 4
624+1825 36500 29 35 0 1 47 0 0 4 0.000 4
625+1826 36520 32 29 0 0 43 0 0 4 0.000 4
626+1827 36540 35 25 1 2 39 45 77 4 0.984 4
627+1828 36560 27 24 1 2 43 52 83 4 0.969 4
628+1829 36580 29 30 1 2 38 51 82 4 0.992 4
629+1830 36600 35 33 1 2 36 55 86 4 0.992 4
630+1831 36620 32 31 1 2 37 56 87 4 0.180 4
631+1832 36640 26 37 1 2 36 55 86 4 0.930 4
632+1833 36660 26 36 1 2 38 51 82 4 0.852 4
633+1834 36680 31 28 0 0 38 0 0 4 0.000 4
634+1835 36700 25 35 0 0 43 0 0 4 0.000 4
635+1836 36720 32 31 0 0 42 0 0 4 0.000 4
636+1837 36740 28 31 1 2 36 250 281 4 0.984 4
637+1838 36760 30 23 1 2 32 201 232 4 0.180 4
638+1839 36780 39 20 1 2 36 51 82 4 0.930 4
639+1840 36800 29 27 1 2 32 106 137 4 0.938 4
640+1841 36820 26 21 1 2 32 102 133 4 0.938 4
641+1842 36840 30 23 1 2 30 48 79 4 0.789 4
642+1843 36860 34 29 1 2 24 246 277 4 0.180 4
643+1844 36880 30 28 1 2 17 88 119 4 0.836 4
644+1845 36900 27 25 1 2 24 140 171 4 0.852 4
645+1846 36920 29 28 1 2 28 249 280 4 0.953 4
646+1847 36940 29 30 1 2 19 245 276 4 0.180 4
647+1848 36960 31 31 1 2 20 180 211 4 0.992 4
648+1849 36980 32 27 1 2 27 242 273 4 0.930 4
649+
650+# --- global stats ---
651+# voiced frames: 5353/6000
652+# gain_idx[0] histogram: [(0, 1), (5, 6), (6, 22), (7, 46), (8, 87), (9, 109), (10, 132), (11, 108), (12, 84), (13, 61), (14, 69), (15, 81), (16, 72), (17, 82), (18, 56), (19, 70), (20, 68), (21, 86), (22, 81), (23, 65), (24, 78), (25, 77), (26, 86), (27, 93), (28, 79), (29, 104), (30, 123), (31, 129), (32, 156), (33, 118), (34, 165), (35, 171), (36, 210), (37, 248), (38, 219), (39, 270), (40, 280), (41, 269), (42, 260), (43, 266), (44, 247), (45, 235), (46, 196), (47, 112), (48, 126), (49, 86), (50, 68), (51, 37), (52, 30), (53, 16), (54, 14), (55, 8), (56, 2), (57, 4), (58, 4), (59, 1), (60, 3), (61, 1), (62, 2), (63, 21)]
653+# nlsf_interp histogram: [(4, 6000)]
654+# avg bytes/frame: ours=29.9 ref=28.4
655+# mean ltp_gain: 0.6571