diff --git a/crates/ec-opus/src/silk_enc.rs b/crates/ec-opus/src/silk_enc.rs index 819fd6d0..5d5d7ad9 100644 --- a/crates/ec-opus/src/silk_enc.rs +++ b/crates/ec-opus/src/silk_enc.rs @@ -556,7 +556,12 @@ fn ncc(frame: &[f32], lag: usize) -> f32 { /// Coarse (4 kHz-equivalent decimated) search followed by a fine search at /// full rate, then a per-subframe refinement and contour-table lookup /// against the decoder's own `CB_LAGS_*` tables (`silk.rs:157-176`). -pub(crate) fn estimate_pitch(frame: &[f32], fs_khz: i32, nb_subfr: usize) -> Option { +pub(crate) fn estimate_pitch( + frame: &[f32], + fs_khz: i32, + nb_subfr: usize, + prior_lag: Option, +) -> Option { let min_lag = (PE_MIN_LAG_MS * fs_khz) as usize; let max_lag = (PE_MAX_LAG_MS * fs_khz) as usize; if frame.len() <= max_lag { @@ -595,7 +600,37 @@ pub(crate) fn estimate_pitch(frame: &[f32], fs_khz: i32, nb_subfr: usize) -> Opt .find(|&(_, &s)| s >= 0.85 * fine_best) .map(|(lag, _)| lag) .unwrap_or(fine_lo); - let best_score = fine_best; + let mut best_score = fine_best; + + // Pitch continuity (libopus `silk_P_estimation` reuses the prior frame's + // lag as a prior). The open-loop search can octave-error onto an integer + // multiple of the true period — seen as a 2-3.5x lag jump with LTP gain + // pinned at its floor — cratering that second's corr. When a prior lag is + // available and the open-loop result jumped away from it, re-search the + // fine window around the prior lag and keep it if its NCC is comparable. + // Measured harmful on real speech (reelm 12k SILK-WB: err_ratio 11.4 -> 26.2, + // lane opus-silkq r1); kept off. + const ENABLE_PITCH_CONTINUITY: bool = false; + let mut best_lag = best_lag; + if ENABLE_PITCH_CONTINUITY { + if let Some(pl) = prior_lag { + let pl = pl as usize; + if pl >= min_lag && pl <= max_lag && best_lag.abs_diff(pl) > dec { + let p_lo = pl.saturating_sub(dec).max(min_lag); + let p_hi = (pl + dec).min(max_lag); + let p_scores: Vec = (p_lo..=p_hi).map(|lag| ncc(frame, lag)).collect(); + let p_best = p_scores.iter().cloned().fold(f32::MIN, f32::max); + if p_best >= 0.85 * best_score { + best_lag = (p_lo..=p_hi) + .zip(p_scores.iter()) + .find(|&(_, &s)| s >= 0.85 * p_best) + .map(|(lag, _)| lag) + .unwrap_or(pl); + best_score = p_best; + } + } + } + } let voiced = best_score > 0.35; if !voiced { return Some(PitchEstimate { @@ -905,7 +940,7 @@ mod tests { let (idx, win) = w; frame[idx + 1] = 0.25 * win[0] + 0.5 * win[1] + 0.25 * win[2]; } - let est = estimate_pitch(&frame, 16, 4).expect("long enough frame"); + let est = estimate_pitch(&frame, 16, 4, None).expect("long enough frame"); assert!(est.voiced, "pulse train should read as voiced"); assert!( (est.lag as f32 - period).abs() <= 1.0, @@ -920,7 +955,7 @@ mod tests { ((rng_state >> 8) as f32 / 8_388_608.0) - 1.0 }) .collect(); - let est_noise = estimate_pitch(&noise, 16, 4).expect("long enough frame"); + let est_noise = estimate_pitch(&noise, 16, 4, None).expect("long enough frame"); assert!(!est_noise.voiced, "white noise should read as unvoiced"); } diff --git a/crates/ec-opus/src/silk_enc_write.rs b/crates/ec-opus/src/silk_enc_write.rs index d951f4b6..9fcb6904 100644 --- a/crates/ec-opus/src/silk_enc_write.rs +++ b/crates/ec-opus/src/silk_enc_write.rs @@ -76,6 +76,7 @@ pub struct SilkEncoder { shape_d: Vec, shape_u: Vec, shape_gq: Vec, + prev_pitch_lag: i32, last_diag: SilkFrameDiag, } @@ -118,6 +119,7 @@ impl SilkEncoder { final_range: 0, mirror_range: 0, voiced_frames: 0, + prev_pitch_lag: 0, mirror_out: vec![0; 20 * 16], target_bps: None, reservoir: 0.0, @@ -382,7 +384,13 @@ impl SilkEncoder { let res: Vec = (0..n as isize).map(whiten).collect(); // Pitch / LTP. - let pitch = estimate_pitch(&x, fs as i32, nb_subfr).filter(|p| p.voiced); + let prior = if self.prev_pitch_lag > 0 { Some(self.prev_pitch_lag) } else { None }; + let pitch = estimate_pitch(&x, fs as i32, nb_subfr, prior).filter(|p| p.voiced); + if let Some(p) = &pitch { + self.prev_pitch_lag = p.lag; + } else { + self.prev_pitch_lag = 0; + } let voiced = pitch.is_some(); let (lag_index, contour_index, pitch_l) = match &pitch { diff --git a/crates/ec-opus/tests/conformance.rs b/crates/ec-opus/tests/conformance.rs index b6513d73..dd195821 100644 --- a/crates/ec-opus/tests/conformance.rs +++ b/crates/ec-opus/tests/conformance.rs @@ -3586,6 +3586,212 @@ fn silk_library_gate_vs_libopus() { println!("wrote {}", sweep_path.display()); } +// --------------------------------------------------------------------------- +// Per-second SILK diagnostic: reelm@12k VoIP encoder decisions vs libopus. +// Names the mechanism behind the 12k corr gap by per-second SILK frame facts. +// Run: +// cargo test -p ec-opus --release --test conformance silk_silkq_persecond_diag -- --ignored --nocapture +// Writes lanes/opus-silkq-r1.seconds.txt. +// --------------------------------------------------------------------------- + +#[test] +#[ignore] +fn silk_silkq_persecond_diag() { + const SECS: f64 = 120.0; + const FRAME: usize = 960; // 20 ms at 48 kHz + const CHANNELS: usize = 1; // MONO + const MAX_LAG: usize = 2000; + const KBPS: u32 = 12; + + let src = shellexpand("~/Music/reelm.wav"); + assert!(src.exists(), "source missing: {}", src.display()); + let source_pcm = ffmpeg_decode_pcm_mono(&src, SECS); + let source_frames = source_pcm.len() / CHANNELS; + assert!(source_frames > 48_000, "source too short"); + let seconds = source_frames as f64 / 48000.0; + + let lanes_dir = Path::new(env!("CARGO_MANIFEST_DIR")).join("../../lanes"); + fs::create_dir_all(&lanes_dir).unwrap(); + let ref_ogg = temp_path("opus-silkq-r1-ref.opus"); + + // Reference: ffmpeg libopus mono voip VBR at 12k; realised rate from size. + ffmpeg_encode_libopus_mono_voip(&src, KBPS, &ref_ogg, SECS); + let ref_bytes = fs::metadata(&ref_ogg).map(|m| m.len() as usize).unwrap_or(0); + let ref_kbps = ref_bytes as f64 * 8.0 / seconds / 1000.0; + let ref_dec = ffmpeg_decode(&ref_ogg, CHANNELS).expect("ffmpeg libopus decode of ref"); + let ref_trim: Vec = ref_dec.into_iter().take(source_frames * CHANNELS).collect(); + let (_, ref_aligned) = align_to_source(&source_pcm, &ref_trim, CHANNELS, MAX_LAG); + let ref_ogg_bytes = fs::read(&ref_ogg).expect("read ref ogg"); + let ref_payload: Vec = ogg_packets(&ref_ogg_bytes) + .into_iter() + .skip(2) // skip opus_head + opus_comment + .filter(|p| !p.is_empty()) + .map(|p| p.len()) + .collect(); + let _ = fs::remove_file(&ref_ogg); + + // Ours: ec-opus Voip at the reference's realised rate, collecting per-frame + // SILK diag. Bitrate matches the gate (ref_kbps*1000 rounded). + let mut enc = Encoder::new(48000, CHANNELS, Application::Voip).expect("encoder"); + enc.set_bitrate((ref_kbps * 1000.0).round() as u32); + enc.set_vbr_constrained(true); + let mut dec = Decoder::new(48000, CHANNELS).unwrap(); + let mut out = vec![0u8; 1500]; + let mut buf = vec![0.0f32; 5760 * CHANNELS]; + let mut padded = Vec::new(); + let mut ours_dec = Vec::new(); + let mut diags: Vec = Vec::new(); + let mut ours_bytes: Vec = Vec::new(); + + for block in source_pcm.chunks(FRAME * CHANNELS) { + let block = if block.len() < FRAME * CHANNELS { + padded.clear(); + padded.extend_from_slice(block); + padded.resize(FRAME * CHANNELS, 0.0); + &padded[..] + } else { + block + }; + let len = enc.encode_float(block, FRAME, &mut out).expect("encode"); + let d = enc.last_silk_diag().cloned(); + ours_bytes.push(len); + if let Some(d) = d { diags.push(d); } + let n = dec.decode_float(&out[..len], &mut buf).expect("decode"); + ours_dec.extend_from_slice(&buf[..n * CHANNELS]); + } + let ours_trim: Vec = ours_dec.into_iter().take(source_frames * CHANNELS).collect(); + let (_, ours_aligned) = align_to_source(&source_pcm, &ours_trim, CHANNELS, MAX_LAG); + + // Per-second correlation ours vs ref against the full-band source (matches + // the gate's corr_bl for the 12k auto-mode row: no lowpass). + let n_frames = source_frames + .min(ours_aligned.len() / CHANNELS) + .min(ref_aligned.len() / CHANNELS); + let sec_samples = 48000usize; + let frames_per_sec = sec_samples / FRAME; // 50 + + let mut sec_rows: Vec<(usize, f64, f64, f64)> = Vec::new(); // (sec, corr_o, corr_r, gap) + let mut start = 0usize; + let mut sec_idx = 0usize; + while start + sec_samples <= n_frames { + let (mut sxy_o, mut sxx_o, mut syy_o) = (0.0f64, 0.0f64, 0.0f64); + let (mut sxy_r, mut sxx_r, mut syy_r) = (0.0f64, 0.0f64, 0.0f64); + for i in 0..sec_samples { + let s = source_pcm[start + i] as f64; + let o = ours_aligned[start + i] as f64; + let r = ref_aligned[start + i] as f64; + sxy_o += s * o; sxx_o += s * s; syy_o += o * o; + sxy_r += s * r; sxx_r += s * s; syy_r += r * r; + } + let co = if sxx_o > 0.0 && syy_o > 0.0 { sxy_o / (sxx_o * syy_o).sqrt() } else { 0.0 }; + let cr = if sxx_r > 0.0 && syy_r > 0.0 { sxy_r / (sxx_r * syy_r).sqrt() } else { 0.0 }; + sec_rows.push((sec_idx, co, cr, cr - co)); + start += sec_samples; + sec_idx += 1; + } + + let mut sorted = sec_rows.clone(); + sorted.sort_by(|a, b| b.3.partial_cmp(&a.3).unwrap()); + + let mut out_str = String::new(); + out_str.push_str("# reelm@12k SILK per-second diagnostic (r1)\n"); + out_str.push_str("# mono, 120s cap, 20ms frames, VBR constrained, 48kHz, Application::Voip\n"); + out_str.push_str(&format!("# total frames: ours={} ref={}\n", diags.len(), ref_payload.len())); + let avg_o: f64 = sec_rows.iter().map(|r| r.1).sum::() / sec_rows.len().max(1) as f64; + let avg_r: f64 = sec_rows.iter().map(|r| r.2).sum::() / sec_rows.len().max(1) as f64; + let gap_avg = avg_r - avg_o; + out_str.push_str(&format!( + "# avg corr: ours={:.4} ref={:.4} gap={:+.4} ref_kbps={:.1} ours_kbps={:.1}\n\n", + avg_o, avg_r, gap_avg, ref_kbps, + ours_bytes.iter().map(|&b| b as f64).sum::() * 8.0 / seconds / 1000.0 + )); + + // Per-second summary table. + 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"); + for &(s, co, cr, g) in &sec_rows { + let f0 = s * frames_per_sec; + let f1 = ((s + 1) * frames_per_sec).min(diags.len()); + let sd = &diags[f0..f1.min(diags.len())]; + let gain_mean: f64 = if !sd.is_empty() { + sd.iter().map(|d| d.gain_idx[0] as f64).sum::() / sd.len() as f64 + } else { -1.0 }; + let voiced_n = sd.iter().filter(|d| d.voiced).count(); + let nlsf_int = if !sd.is_empty() { + sd.iter().map(|d| d.nlsf_interp).max().unwrap_or(0) + } else { 0 }; + let avg_b_o: f64 = if !sd.is_empty() { + sd.iter().map(|d| d.bytes as f64).sum::() / sd.len() as f64 + } else { 0.0 }; + let ref_f0 = f0.min(ref_payload.len()); + let ref_f1 = f1.min(ref_payload.len()); + let avg_b_r: f64 = if ref_f1 > ref_f0 { + ref_payload[ref_f0..ref_f1].iter().map(|&b| b as f64).sum::() + / (ref_f1 - ref_f0) as f64 + } else { 0.0 }; + let ltp_mean: f64 = if !sd.is_empty() { + sd.iter().map(|d| d.ltp_gain as f64).sum::() / sd.len() as f64 + } else { 0.0 }; + let pitch_mean: f64 = if !sd.is_empty() { + sd.iter().filter(|d| d.voiced).map(|d| d.pitch_l[0] as f64).sum::() + / sd.iter().filter(|d| d.voiced).count().max(1) as f64 + } else { 0.0 }; + out_str.push_str(&format!( + "{}\t{:.4}\t{:.4}\t{:+.4}\t{:.1}\t{}\t{}\t{:.1}\t{:.1}\t{:.3}\t{:.1}\n", + s, co, cr, g, gain_mean, voiced_n, nlsf_int, avg_b_o, avg_b_r, ltp_mean, pitch_mean + )); + } + + // Top 10 worst seconds by gap with per-frame SILK diag. + out_str.push_str("\n# --- 10 worst seconds by gap (per-frame SILK diag) ---\n"); + 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"); + for &(s, _co, _cr, g) in sorted.iter().take(10) { + let f0 = s * frames_per_sec; + let f1 = ((s + 1) * frames_per_sec).min(diags.len()); + out_str.push_str(&format!("# second {} gap={:+.4}\n", s, g)); + for fi in f0..f1.min(diags.len()) { + let d = &diags[fi]; + let b_ref = ref_payload.get(fi).copied().unwrap_or(0); + out_str.push_str(&format!( + "{}\t{}\t{}\t{}\t{}\t{}\t{}\t{}\t{}\t{}\t{:.3}\t{}\n", + fi, fi * 20, d.bytes, b_ref, + d.voiced as u8, d.signal_type, d.gain_idx[0], d.lag_index, + d.pitch_l[0], d.nlsf_interp, d.ltp_gain, d.nb_subfr + )); + } + out_str.push('\n'); + } + + // Global stats. + out_str.push_str("# --- global stats ---\n"); + let voiced_count = diags.iter().filter(|d| d.voiced).count(); + out_str.push_str(&format!("# voiced frames: {}/{}\n", voiced_count, diags.len())); + let gain_hist: Vec<(i8, usize)> = { + let mut h = std::collections::HashMap::new(); + for d in &diags { *h.entry(d.gain_idx[0]).or_insert(0) += 1; } + let mut v: Vec<_> = h.into_iter().collect(); + v.sort(); + v + }; + out_str.push_str(&format!("# gain_idx[0] histogram: {:?}\n", gain_hist)); + let nlsf_hist: Vec<(i32, usize)> = { + let mut h = std::collections::HashMap::new(); + for d in &diags { *h.entry(d.nlsf_interp).or_insert(0) += 1; } + let mut v: Vec<_> = h.into_iter().collect(); + v.sort(); + v + }; + out_str.push_str(&format!("# nlsf_interp histogram: {:?}\n", nlsf_hist)); + let avg_b_ours: f64 = diags.iter().map(|d| d.bytes as f64).sum::() / diags.len().max(1) as f64; + let avg_b_ref: f64 = ref_payload.iter().map(|&b| b as f64).sum::() / ref_payload.len().max(1) as f64; + out_str.push_str(&format!("# avg bytes/frame: ours={:.1} ref={:.1}\n", avg_b_ours, avg_b_ref)); + let ltp_mean_all: f64 = diags.iter().map(|d| d.ltp_gain as f64).sum::() / diags.len().max(1) as f64; + out_str.push_str(&format!("# mean ltp_gain: {:.4}\n", ltp_mean_all)); + + let out_path = lanes_dir.join("opus-silkq-r1.seconds.txt"); + fs::write(&out_path, out_str).unwrap(); + println!("wrote {}", out_path.display()); +} + // --------------------------------------------------------------------------- // Harness: feed identical raw PCM (.sw, s16le interleaved) to our opus_compare // so it can be checked against the C `opus_compare` tool on the SAME bytes. diff --git a/lanes/opus-silkq-r1.seconds.txt b/lanes/opus-silkq-r1.seconds.txt new file mode 100644 index 00000000..fca4e024 --- /dev/null +++ b/lanes/opus-silkq-r1.seconds.txt @@ -0,0 +1,655 @@ +# reelm@12k SILK per-second diagnostic (r1) +# mono, 120s cap, 20ms frames, VBR constrained, 48kHz, Application::Voip +# total frames: ours=6000 ref=6001 +# avg corr: ours=0.8197 ref=0.8010 gap=-0.0186 ref_kbps=12.0 ours_kbps=12.4 + +# 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 +0 0.8247 0.8502 +0.0255 23.3 38 4 30.0 26.0 0.469 179.4 +1 0.9198 0.9268 +0.0070 36.3 45 4 30.1 28.8 0.753 113.8 +2 0.8531 0.9519 +0.0988 33.5 50 4 29.9 29.1 0.785 120.0 +3 0.5669 0.9353 +0.3684 38.3 50 4 30.6 31.2 0.850 97.2 +4 0.8177 0.9165 +0.0988 25.0 49 4 29.2 24.9 0.723 172.3 +5 0.9809 0.8886 -0.0923 16.3 47 4 30.0 24.1 0.567 172.2 +6 0.7734 0.6995 -0.0738 32.8 40 4 30.0 29.1 0.570 121.8 +7 0.9481 0.9396 -0.0085 20.5 49 4 29.9 24.3 0.725 173.5 +8 0.8356 0.6833 -0.1523 38.0 46 4 30.2 29.1 0.774 95.3 +9 0.7899 0.8454 +0.0556 36.8 49 4 29.8 24.9 0.748 150.7 +10 0.8553 0.8014 -0.0539 31.1 35 4 29.9 28.5 0.519 153.2 +11 0.9439 0.9069 -0.0370 37.4 45 4 29.9 30.2 0.774 67.2 +12 0.9410 0.9599 +0.0188 34.5 48 4 30.0 27.5 0.761 94.3 +13 0.9281 0.9249 -0.0032 27.4 47 4 30.0 25.7 0.616 153.4 +14 0.9621 0.9618 -0.0003 18.4 48 4 29.9 24.1 0.647 171.2 +15 0.7875 0.7502 -0.0373 38.4 39 4 30.0 30.1 0.637 100.2 +16 0.5570 0.2079 -0.3491 28.7 45 4 30.0 28.2 0.632 138.9 +17 0.5736 0.2644 -0.3092 32.7 48 4 29.8 30.2 0.686 132.6 +18 0.7159 0.3400 -0.3759 27.8 44 4 30.0 26.5 0.573 161.5 +19 0.8888 0.7884 -0.1004 33.3 43 4 29.9 28.5 0.607 171.0 +20 0.7558 0.3615 -0.3942 21.4 47 4 30.1 25.0 0.580 200.4 +21 0.4141 0.9460 +0.5319 28.5 44 4 29.8 25.0 0.608 143.2 +22 0.9322 0.9264 -0.0057 36.2 48 4 30.1 29.7 0.774 117.4 +23 0.8556 0.8269 -0.0286 34.6 45 4 29.8 29.5 0.748 147.3 +24 0.9114 0.9419 +0.0305 31.2 48 4 30.1 29.3 0.736 144.4 +25 0.8961 0.8377 -0.0584 34.3 46 4 29.8 28.7 0.663 133.7 +26 0.6878 0.8346 +0.1468 34.4 46 4 29.9 28.6 0.683 126.1 +27 0.8907 0.9581 +0.0674 26.3 47 4 30.1 25.8 0.736 129.8 +28 0.7228 0.5837 -0.1391 30.0 38 4 29.8 27.9 0.431 158.9 +29 0.7742 0.6401 -0.1341 37.9 45 4 29.9 30.1 0.758 101.3 +30 0.8782 0.7973 -0.0809 21.8 40 4 30.1 27.0 0.495 228.0 +31 0.7263 0.4536 -0.2726 36.2 42 4 29.8 30.1 0.620 135.2 +32 0.7227 0.5152 -0.2074 25.1 43 4 30.0 26.3 0.479 198.4 +33 0.8002 0.7558 -0.0444 32.0 42 4 30.0 28.0 0.578 128.6 +34 0.9353 0.9336 -0.0017 34.5 49 4 29.9 29.2 0.713 130.7 +35 0.7784 0.6648 -0.1136 27.9 39 4 30.0 28.3 0.563 181.1 +36 0.2867 0.4971 +0.2104 35.1 41 4 30.0 28.7 0.571 148.1 +37 0.7839 0.7338 -0.0501 37.5 42 4 30.0 29.2 0.641 150.4 +38 0.9043 0.8528 -0.0515 35.5 46 4 29.7 29.9 0.697 98.2 +39 0.6942 0.9528 +0.2586 32.6 47 4 30.0 27.4 0.750 132.1 +40 0.8157 0.7343 -0.0814 35.4 36 4 30.0 29.7 0.568 142.4 +41 0.9648 0.9464 -0.0184 35.7 48 4 29.9 29.3 0.777 101.8 +42 0.9616 0.9304 -0.0312 34.0 50 4 30.0 28.6 0.817 108.6 +43 0.8211 0.6608 -0.1603 41.0 42 4 29.9 30.2 0.714 88.9 +44 0.9500 0.9115 -0.0385 32.2 37 4 29.9 27.8 0.627 109.4 +45 0.9727 0.9346 -0.0381 35.6 50 4 29.9 28.9 0.876 94.8 +46 0.9174 0.9251 +0.0077 33.1 39 4 30.3 28.4 0.583 119.7 +47 0.8824 0.8356 -0.0469 37.0 38 4 29.6 29.1 0.553 105.4 +48 0.7033 0.6620 -0.0413 37.1 44 4 30.0 30.1 0.656 116.0 +49 0.8185 0.7615 -0.0571 37.4 44 4 29.9 28.6 0.614 150.2 +50 0.9593 0.9530 -0.0063 27.4 47 4 30.1 26.9 0.652 134.2 +51 0.6141 0.9269 +0.3128 39.5 50 4 30.0 29.4 0.845 107.0 +52 0.5787 0.7970 +0.2183 38.0 40 4 29.7 30.0 0.620 131.1 +53 0.3918 0.3167 -0.0751 25.7 34 4 29.9 24.7 0.295 169.8 +54 0.8613 0.8378 -0.0235 38.0 43 4 30.0 29.2 0.684 105.6 +55 0.9282 0.9403 +0.0121 32.8 48 4 29.9 26.1 0.733 103.3 +56 0.8919 0.9074 +0.0156 41.6 48 4 29.9 30.3 0.716 111.4 +57 0.8958 0.8877 -0.0081 40.5 45 4 29.9 30.5 0.759 100.4 +58 0.6867 0.9279 +0.2412 38.1 44 4 30.2 26.8 0.700 124.9 +59 0.6639 0.6228 -0.0412 31.5 38 4 29.8 28.9 0.534 186.4 +60 0.8885 0.8682 -0.0203 36.9 44 4 30.2 28.9 0.717 107.9 +61 0.9123 0.8184 -0.0939 34.3 46 4 29.7 27.6 0.741 128.9 +62 0.9189 0.9456 +0.0266 28.4 49 4 30.1 27.0 0.667 142.2 +63 0.9281 0.9344 +0.0063 36.2 48 4 29.8 29.0 0.801 93.8 +64 0.8017 0.8734 +0.0716 40.5 44 4 29.8 29.9 0.698 150.5 +65 0.8081 0.9124 +0.1043 38.1 46 4 30.4 28.5 0.718 124.9 +66 0.7671 0.9463 +0.1792 26.3 48 4 30.0 26.7 0.648 143.2 +67 0.8860 0.9326 +0.0465 28.6 41 4 29.5 28.1 0.569 188.7 +68 0.8851 0.8452 -0.0399 38.2 45 4 29.9 29.5 0.701 119.5 +69 0.6321 0.9361 +0.3040 36.3 45 4 30.0 29.1 0.667 124.2 +70 0.9286 0.9480 +0.0195 33.3 48 4 30.1 28.6 0.742 113.6 +71 0.9244 0.9362 +0.0118 37.2 47 4 29.9 29.7 0.787 131.8 +72 0.9428 0.9102 -0.0326 32.4 45 4 29.7 29.2 0.706 104.7 +73 0.9506 0.9439 -0.0067 39.0 50 4 30.1 29.9 0.901 88.7 +74 0.9256 0.9084 -0.0171 28.0 48 4 29.8 28.1 0.526 140.0 +75 0.9336 0.9484 +0.0148 27.1 50 4 30.1 25.7 0.668 160.4 +76 0.8474 0.8076 -0.0398 40.9 37 4 29.9 30.5 0.599 89.4 +77 0.9612 0.9439 -0.0173 30.2 45 4 29.9 27.5 0.689 129.4 +78 0.9306 0.9444 +0.0138 28.1 47 4 30.1 25.9 0.678 142.4 +79 0.7988 0.7307 -0.0681 38.5 45 4 30.1 30.2 0.684 126.7 +80 0.7712 0.6911 -0.0801 26.2 43 4 29.7 26.1 0.555 181.9 +81 0.9580 0.9279 -0.0301 28.6 46 4 29.9 28.0 0.648 134.0 +82 0.7799 0.7055 -0.0743 39.7 41 4 30.0 29.4 0.597 136.0 +83 0.7745 0.7672 -0.0073 40.2 42 4 29.9 30.7 0.612 119.7 +84 0.8723 0.8918 +0.0195 38.0 48 4 30.0 29.5 0.750 84.3 +85 0.7744 0.6859 -0.0885 31.5 45 4 29.9 29.0 0.649 134.2 +86 0.9394 0.9442 +0.0048 38.7 47 4 30.1 29.7 0.777 111.8 +87 0.6874 0.7982 +0.1108 40.7 43 4 29.8 29.2 0.577 129.6 +88 0.7890 0.5988 -0.1902 35.8 40 4 29.9 29.9 0.612 126.0 +89 0.8913 0.8625 -0.0288 35.4 49 4 30.0 28.4 0.664 144.2 +90 0.9782 0.9556 -0.0226 32.4 37 4 30.1 30.0 0.510 179.0 +91 0.9731 0.9647 -0.0084 40.6 49 4 29.9 29.5 0.865 93.7 +92 0.8500 0.8520 +0.0020 35.5 46 4 29.9 27.8 0.632 140.5 +93 0.6905 0.5236 -0.1668 14.2 49 4 29.9 21.6 0.556 229.3 +94 0.8003 0.7910 -0.0093 27.0 42 4 30.0 25.9 0.504 172.8 +95 0.7230 0.5845 -0.1385 39.5 40 4 29.9 29.4 0.582 123.5 +96 0.7994 0.6902 -0.1091 40.6 46 4 30.1 29.8 0.750 106.5 +97 0.9464 0.9284 -0.0180 33.1 49 4 29.8 28.6 0.683 127.0 +98 0.8912 0.8138 -0.0774 34.4 45 4 30.1 29.5 0.698 128.4 +99 0.7576 0.7480 -0.0096 35.3 45 4 29.9 30.7 0.658 161.6 +100 0.7547 0.5699 -0.1848 38.6 45 4 30.0 30.0 0.723 136.2 +101 0.8651 0.8328 -0.0323 33.4 43 4 29.8 29.3 0.672 188.6 +102 0.8473 0.7527 -0.0946 35.3 43 4 30.0 29.7 0.649 101.3 +103 0.8296 0.7442 -0.0854 36.4 44 4 30.2 29.4 0.579 153.4 +104 0.7923 0.7224 -0.0699 28.1 40 4 29.7 27.4 0.486 193.9 +105 0.9536 0.9237 -0.0299 37.4 46 4 30.1 29.5 0.714 109.5 +106 0.6510 0.8945 +0.2435 41.5 43 4 30.0 29.3 0.715 101.4 +107 0.9480 0.9271 -0.0209 36.5 50 4 29.9 28.7 0.743 103.6 +108 0.9425 0.8806 -0.0619 29.2 47 4 29.8 28.6 0.634 162.3 +109 0.8979 0.9130 +0.0151 25.7 47 4 30.0 27.4 0.511 211.8 +110 0.4876 0.4715 -0.0161 37.2 45 4 30.0 29.2 0.595 144.8 +111 0.6997 0.5212 -0.1786 28.9 41 4 29.9 27.6 0.540 184.0 +112 0.5363 0.9487 +0.4124 34.0 47 4 29.9 29.5 0.769 108.7 +113 0.9393 0.9127 -0.0267 23.7 48 4 30.0 26.7 0.619 165.7 +114 0.9759 0.9356 -0.0403 24.7 48 4 29.9 26.8 0.596 150.0 +115 0.6325 0.4761 -0.1564 39.9 33 4 30.1 29.4 0.507 108.7 +116 0.6736 0.6310 -0.0427 38.4 42 4 29.9 29.5 0.588 131.7 +117 0.7680 0.5467 -0.2213 34.7 42 4 30.0 29.4 0.563 147.5 +118 0.8985 0.8687 -0.0297 32.8 45 4 29.9 29.5 0.601 166.3 +119 0.9527 0.9166 -0.0361 28.6 49 4 30.0 27.1 0.693 172.1 + +# --- 10 worst seconds by gap (per-frame SILK diag) --- +# frame t_ms B_o B_r voiced sig_type gain[0] lag_idx pitch_l nlsf_int ltp_gain nb_subfr +# second 21 gap=+0.5319 +1050 21000 24 24 1 2 34 120 151 4 0.180 4 +1051 21020 31 25 1 2 25 176 207 4 0.180 4 +1052 21040 32 30 1 2 17 21 53 4 0.180 4 +1053 21060 25 21 1 2 14 181 212 4 0.180 4 +1054 21080 24 18 1 2 11 186 217 4 0.180 4 +1055 21100 36 20 1 2 8 255 286 4 0.789 4 +1056 21120 26 20 0 0 9 0 0 4 0.000 4 +1057 21140 33 26 1 2 11 216 247 4 0.961 4 +1058 21160 27 22 1 2 13 212 243 4 0.992 4 +1059 21180 29 20 1 2 10 210 241 4 0.930 4 +1060 21200 32 22 1 2 10 206 237 4 0.180 4 +1061 21220 29 22 1 2 9 247 278 4 0.180 4 +1062 21240 30 18 1 2 9 200 231 4 0.633 4 +1063 21260 34 21 1 2 9 80 111 4 0.180 4 +1064 21280 29 25 1 2 10 80 111 4 0.789 4 +1065 21300 28 16 1 2 10 107 138 4 0.180 4 +1066 21320 27 17 1 2 9 212 243 4 0.180 4 +1067 21340 32 16 0 0 19 0 0 4 0.000 4 +1068 21360 25 16 1 2 12 84 115 4 0.938 4 +1069 21380 35 20 1 2 8 236 267 4 0.180 4 +1070 21400 30 15 0 0 7 0 0 4 0.000 4 +1071 21420 34 17 1 2 9 156 187 4 0.922 4 +1072 21440 30 16 1 2 8 172 203 4 0.180 4 +1073 21460 26 24 0 1 20 0 0 4 0.000 4 +1074 21480 27 30 0 1 36 0 0 4 0.000 4 +1075 21500 38 30 0 0 34 0 0 4 0.000 4 +1076 21520 27 32 1 2 32 251 282 4 0.180 4 +1077 21540 52 32 1 2 38 253 284 4 0.922 4 +1078 21560 16 35 1 2 63 42 76 4 0.852 4 +1079 21580 14 30 1 2 63 46 78 4 0.984 4 +1080 21600 30 28 1 2 52 47 79 4 0.938 4 +1081 21620 41 23 1 2 43 49 80 4 0.969 4 +1082 21640 34 28 1 2 53 51 83 4 0.977 4 +1083 21660 14 34 1 2 63 51 82 4 0.789 4 +1084 21680 17 33 1 2 10 47 77 4 0.938 4 +1085 21700 50 33 1 2 28 43 75 4 0.852 4 +1086 21720 23 30 1 2 41 45 77 4 0.992 4 +1087 21740 42 29 1 2 38 46 78 4 0.969 4 +1088 21760 34 28 1 2 44 47 79 4 0.984 4 +1089 21780 24 28 1 2 44 48 79 4 0.938 4 +1090 21800 35 32 1 2 44 48 79 4 0.938 4 +1091 21820 30 20 1 2 42 49 80 4 0.938 4 +1092 21840 31 33 1 2 39 47 79 4 0.852 4 +1093 21860 29 36 1 2 41 49 80 4 0.852 4 +1094 21880 30 27 1 2 40 49 80 4 0.852 4 +1095 21900 34 25 1 2 41 49 81 4 0.789 4 +1096 21920 16 34 1 2 57 51 82 4 0.938 4 +1097 21940 16 30 1 2 53 52 83 4 0.938 4 +1098 21960 41 22 1 2 42 53 84 4 0.969 4 +1099 21980 38 19 1 2 44 53 84 4 0.969 4 + +# second 112 gap=+0.4124 +5600 112000 32 20 1 2 10 138 169 4 0.180 4 +5601 112020 30 22 1 2 11 241 272 4 0.984 4 +5602 112040 26 22 1 2 12 237 268 4 0.633 4 +5603 112060 33 21 1 2 29 159 190 4 1.039 4 +5604 112080 31 36 1 2 37 49 80 4 0.852 4 +5605 112100 28 34 1 2 38 52 83 4 0.969 4 +5606 112120 31 36 1 2 42 53 84 4 0.852 4 +5607 112140 33 28 1 2 37 53 84 4 0.938 4 +5608 112160 28 32 1 2 34 53 84 4 0.852 4 +5609 112180 31 30 1 2 31 49 81 4 0.789 4 +5610 112200 25 25 1 2 29 219 250 4 0.789 4 +5611 112220 32 25 1 2 29 216 247 4 0.961 4 +5612 112240 41 42 1 2 36 50 81 4 0.938 4 +5613 112260 28 36 1 2 42 56 87 4 0.938 4 +5614 112280 25 38 1 2 41 60 91 4 0.992 4 +5615 112300 27 30 1 2 41 59 90 4 0.977 4 +5616 112320 32 31 1 2 44 59 90 4 0.992 4 +5617 112340 31 31 1 2 38 57 88 4 0.938 4 +5618 112360 34 35 1 2 40 56 87 4 0.938 4 +5619 112380 24 33 1 2 40 55 86 4 0.969 4 +5620 112400 29 27 1 2 37 56 87 4 0.633 4 +5621 112420 29 31 1 2 35 39 69 4 0.961 4 +5622 112440 34 35 1 2 41 52 83 4 0.852 4 +5623 112460 36 32 1 2 47 54 85 4 0.969 4 +5624 112480 14 25 1 2 63 54 85 4 0.984 4 +5625 112500 37 21 1 2 12 52 83 4 0.852 4 +5626 112520 40 24 1 2 40 51 82 4 0.938 4 +5627 112540 22 27 1 2 48 50 81 4 0.938 4 +5628 112560 35 29 1 2 46 49 81 4 0.992 4 +5629 112580 24 23 1 2 48 47 79 4 0.977 4 +5630 112600 42 24 1 2 47 45 77 4 0.969 4 +5631 112620 22 26 1 2 58 43 75 4 0.977 4 +5632 112640 29 31 1 2 45 41 75 4 0.992 4 +5633 112660 29 33 1 2 42 39 71 4 0.938 4 +5634 112680 28 34 1 2 38 38 69 4 0.852 4 +5635 112700 30 29 1 2 28 38 70 4 0.789 4 +5636 112720 27 20 1 2 20 37 69 4 0.789 4 +5637 112740 30 28 1 2 20 111 142 4 0.180 4 +5638 112760 23 32 1 2 25 254 285 4 0.852 4 +5639 112780 36 33 0 0 23 0 0 4 0.000 4 +5640 112800 27 32 1 2 27 255 286 4 0.984 4 +5641 112820 28 30 1 2 28 255 286 4 0.930 4 +5642 112840 35 30 0 0 27 0 0 4 0.000 4 +5643 112860 26 31 0 1 28 0 0 4 0.000 4 +5644 112880 31 30 1 2 29 3 36 4 0.922 4 +5645 112900 32 32 1 2 28 0 33 4 0.180 4 +5646 112920 29 32 1 2 28 0 32 4 0.180 4 +5647 112940 28 33 1 2 29 0 33 4 0.930 4 +5648 112960 35 24 1 2 26 0 32 4 0.180 4 +5649 112980 26 31 1 2 28 1 33 4 0.180 4 + +# second 3 gap=+0.3684 +150 3000 29 31 1 2 34 40 73 4 0.789 4 +151 3020 33 33 1 2 40 39 71 4 0.938 4 +152 3040 32 34 1 2 44 39 70 4 0.180 4 +153 3060 25 29 1 2 50 40 70 4 0.984 4 +154 3080 31 29 1 2 48 40 72 4 0.969 4 +155 3100 33 33 1 2 43 40 72 4 0.938 4 +156 3120 21 32 1 2 41 39 71 4 0.180 4 +157 3140 31 22 1 2 38 39 71 4 0.180 4 +158 3160 33 29 1 2 35 42 74 4 0.789 4 +159 3180 28 34 1 2 30 48 80 4 0.852 4 +160 3200 29 33 1 2 44 44 76 4 0.992 4 +161 3220 31 29 1 2 40 44 76 4 0.938 4 +162 3240 29 22 1 2 40 46 78 4 0.938 4 +163 3260 34 24 1 2 37 50 81 4 0.852 4 +164 3280 27 26 1 2 34 52 83 4 0.852 4 +165 3300 29 22 1 2 33 51 82 4 0.180 4 +166 3320 29 35 1 2 32 50 81 4 0.180 4 +167 3340 26 31 1 2 37 51 82 4 0.789 4 +168 3360 31 37 1 2 37 51 82 4 0.852 4 +169 3380 30 34 1 2 34 54 85 4 0.969 4 +170 3400 34 40 1 2 37 51 83 4 0.789 4 +171 3420 28 31 1 2 36 52 83 4 0.836 4 +172 3440 27 30 1 2 33 52 83 4 0.922 4 +173 3460 36 34 1 2 31 53 84 4 0.992 4 +174 3480 24 32 1 2 31 54 85 4 0.930 4 +175 3500 29 31 1 2 34 51 82 4 0.984 4 +176 3520 32 33 1 2 37 50 81 4 0.977 4 +177 3540 32 32 1 2 34 49 81 4 0.992 4 +178 3560 30 30 1 2 36 47 79 4 0.992 4 +179 3580 31 34 1 2 36 48 79 4 0.984 4 +180 3600 29 31 1 2 36 47 79 4 0.930 4 +181 3620 33 39 1 2 38 47 79 4 0.922 4 +182 3640 28 35 1 2 38 47 80 4 0.992 4 +183 3660 30 32 1 2 40 46 78 4 0.992 4 +184 3680 31 32 1 2 42 47 79 4 0.992 4 +185 3700 23 31 1 2 43 50 81 4 0.938 4 +186 3720 36 34 1 2 40 51 82 4 0.938 4 +187 3740 15 31 1 2 63 51 82 4 0.938 4 +188 3760 50 33 1 2 15 53 84 4 0.938 4 +189 3780 24 32 1 2 43 55 86 4 0.969 4 +190 3800 38 29 1 2 40 57 88 4 0.930 4 +191 3820 29 32 1 2 41 146 177 4 0.938 4 +192 3840 35 29 1 2 39 150 181 4 0.984 4 +193 3860 23 27 1 2 43 151 182 4 0.789 4 +194 3880 35 36 1 2 41 153 184 4 0.992 4 +195 3900 32 33 1 2 43 149 180 4 0.938 4 +196 3920 14 26 1 2 63 147 178 4 0.938 4 +197 3940 68 31 1 2 19 146 177 4 0.969 4 +198 3960 15 30 1 2 63 145 176 4 0.789 4 +199 3980 48 30 1 2 11 144 175 4 0.969 4 + +# second 51 gap=+0.3128 +2550 51000 14 34 1 2 60 39 71 4 0.969 4 +2551 51020 50 32 1 2 57 41 73 4 0.969 4 +2552 51040 18 30 1 2 63 42 76 4 0.969 4 +2553 51060 37 34 1 2 49 43 75 4 0.969 4 +2554 51080 35 34 1 2 47 43 76 4 0.992 4 +2555 51100 28 28 1 2 46 42 74 4 0.969 4 +2556 51120 26 26 1 2 44 41 74 4 0.852 4 +2557 51140 22 23 1 2 39 41 76 4 0.992 4 +2558 51160 35 30 1 2 39 40 73 4 0.852 4 +2559 51180 29 27 1 2 41 39 71 4 0.852 4 +2560 51200 39 24 1 2 36 39 71 4 0.852 4 +2561 51220 21 33 1 2 40 38 70 4 0.852 4 +2562 51240 29 19 1 2 38 37 69 4 0.852 4 +2563 51260 29 28 1 2 38 37 69 4 0.961 4 +2564 51280 35 25 1 2 37 37 69 4 0.836 4 +2565 51300 29 22 1 2 36 37 69 4 0.836 4 +2566 51320 32 26 1 2 37 38 70 4 0.930 4 +2567 51340 33 38 1 2 33 39 71 4 0.789 4 +2568 51360 24 35 1 2 32 40 75 4 0.969 4 +2569 51380 33 25 1 2 25 38 71 4 0.180 4 +2570 51400 24 20 1 2 18 40 75 4 0.789 4 +2571 51420 32 35 1 2 25 145 176 4 1.039 4 +2572 51440 23 28 1 2 45 241 272 4 0.922 4 +2573 51460 36 32 1 2 44 244 275 4 0.938 4 +2574 51480 30 28 1 2 42 28 60 4 0.938 4 +2575 51500 29 29 1 2 38 41 76 4 0.992 4 +2576 51520 31 36 1 2 28 47 79 4 0.789 4 +2577 51540 30 28 1 2 24 45 77 4 0.992 4 +2578 51560 31 27 1 2 17 226 257 4 0.180 4 +2579 51580 28 20 1 2 15 195 226 4 0.180 4 +2580 51600 32 31 1 2 38 23 53 4 0.938 4 +2581 51620 30 39 1 2 44 39 69 4 0.938 4 +2582 51640 28 36 1 2 45 46 76 4 0.992 4 +2583 51660 33 23 1 2 46 48 79 4 0.969 4 +2584 51680 29 21 1 2 43 48 79 4 0.992 4 +2585 51700 28 25 1 2 44 47 79 4 0.984 4 +2586 51720 31 29 1 2 46 46 78 4 0.984 4 +2587 51740 33 38 1 2 43 48 79 4 0.852 4 +2588 51760 30 40 1 2 33 47 79 4 0.992 4 +2589 51780 30 33 1 2 37 47 77 4 0.852 4 +2590 51800 28 28 1 2 33 43 76 4 0.836 4 +2591 51820 30 31 1 2 29 226 257 4 0.961 4 +2592 51840 37 34 1 2 39 51 83 4 0.938 4 +2593 51860 22 23 1 2 45 52 83 4 0.852 4 +2594 51880 24 25 1 2 43 57 88 4 1.039 4 +2595 51900 56 33 1 2 37 57 88 4 0.789 4 +2596 51920 18 35 1 2 54 229 260 4 0.180 4 +2597 51940 15 25 1 2 63 200 231 4 0.992 4 +2598 51960 15 36 1 2 63 210 241 4 0.180 4 +2599 51980 61 31 1 2 15 146 177 4 0.789 4 + +# second 69 gap=+0.3040 +3450 69000 30 34 1 2 34 220 251 4 0.180 4 +3451 69020 32 21 1 2 31 30 62 4 0.992 4 +3452 69040 50 33 1 2 36 42 75 4 0.930 4 +3453 69060 22 27 1 2 45 46 78 4 0.992 4 +3454 69080 35 31 1 2 46 48 79 4 0.977 4 +3455 69100 14 23 1 2 54 48 80 4 0.938 4 +3456 69120 16 32 1 2 63 49 80 4 0.938 4 +3457 69140 35 23 1 2 49 48 80 4 0.938 4 +3458 69160 41 31 1 2 42 48 79 4 0.938 4 +3459 69180 15 22 1 2 58 48 80 4 0.938 4 +3460 69200 56 24 1 2 45 48 79 4 0.938 4 +3461 69220 19 28 1 2 45 48 79 4 0.938 4 +3462 69240 29 32 1 2 40 47 79 4 0.984 4 +3463 69260 28 25 1 2 42 47 79 4 0.938 4 +3464 69280 21 36 1 2 44 46 78 4 0.969 4 +3465 69300 39 31 1 2 45 46 78 4 1.039 4 +3466 69320 35 27 1 2 43 46 78 4 0.984 4 +3467 69340 28 34 1 2 42 47 81 4 0.930 4 +3468 69360 27 34 1 2 38 134 165 4 0.984 4 +3469 69380 27 23 1 2 29 226 257 4 0.836 4 +3470 69400 26 21 1 2 26 222 253 4 0.180 4 +3471 69420 41 25 1 2 15 227 258 4 0.180 4 +3472 69440 27 23 1 2 14 24 54 4 0.992 4 +3473 69460 30 32 1 2 33 122 153 4 0.852 4 +3474 69480 32 37 1 2 36 47 79 4 0.922 4 +3475 69500 29 38 1 2 31 46 78 4 0.180 4 +3476 69520 27 29 1 2 31 47 80 4 0.852 4 +3477 69540 27 26 1 2 31 48 79 4 0.852 4 +3478 69560 32 37 1 2 31 47 81 4 0.180 4 +3479 69580 25 37 0 1 39 0 0 4 0.000 4 +3480 69600 37 32 1 2 42 244 275 4 0.180 4 +3481 69620 29 30 1 2 42 242 273 4 0.180 4 +3482 69640 26 31 1 2 44 241 272 4 0.938 4 +3483 69660 33 32 0 0 41 0 0 4 0.000 4 +3484 69680 33 32 1 2 37 39 70 4 0.852 4 +3485 69700 29 26 1 2 37 42 73 4 0.852 4 +3486 69720 31 30 1 2 30 242 273 4 0.180 4 +3487 69740 27 26 1 2 19 41 73 4 0.180 4 +3488 69760 28 21 1 2 13 236 267 4 0.180 4 +3489 69780 35 18 1 2 11 146 177 4 0.961 4 +3490 69800 26 29 1 2 26 68 99 4 0.969 4 +3491 69820 32 35 1 2 32 39 69 4 0.852 4 +3492 69840 32 33 1 2 36 45 77 4 0.969 4 +3493 69860 31 30 1 2 35 54 85 4 0.789 4 +3494 69880 28 23 1 2 22 50 81 4 0.789 4 +3495 69900 28 27 0 0 24 0 0 4 0.000 4 +3496 69920 26 38 0 1 41 0 0 4 0.000 4 +3497 69940 34 34 1 2 42 242 273 4 0.836 4 +3498 69960 30 31 0 1 45 0 0 4 0.000 4 +3499 69980 30 23 1 2 37 4 38 4 0.180 4 + +# second 39 gap=+0.2586 +1950 39000 36 28 1 2 27 110 141 4 0.992 4 +1951 39020 34 35 1 2 35 45 76 4 0.992 4 +1952 39040 24 28 1 2 42 47 79 4 0.180 4 +1953 39060 27 32 1 2 39 49 81 4 0.938 4 +1954 39080 33 30 1 2 39 49 80 4 0.852 4 +1955 39100 32 28 1 2 38 50 81 4 0.852 4 +1956 39120 32 35 1 2 39 50 81 4 0.984 4 +1957 39140 34 33 1 2 42 51 82 4 0.938 4 +1958 39160 27 24 1 2 46 54 85 4 0.922 4 +1959 39180 31 36 1 2 40 55 86 4 0.922 4 +1960 39200 32 31 1 2 37 53 84 4 0.180 4 +1961 39220 28 32 1 2 36 242 273 4 0.180 4 +1962 39240 31 26 1 2 24 238 269 4 0.180 4 +1963 39260 23 26 0 0 24 0 0 4 0.000 4 +1964 39280 26 22 0 0 28 0 0 4 0.000 4 +1965 39300 35 29 1 2 32 220 251 4 0.938 4 +1966 39320 29 34 0 0 34 0 0 4 0.000 4 +1967 39340 32 34 1 2 39 48 80 4 0.789 4 +1968 39360 29 35 1 2 40 52 83 4 0.992 4 +1969 39380 30 28 1 2 37 53 84 4 0.836 4 +1970 39400 32 27 1 2 37 54 85 4 0.852 4 +1971 39420 40 31 1 2 39 56 87 4 0.852 4 +1972 39440 28 23 1 2 43 57 88 4 0.852 4 +1973 39460 29 30 1 2 42 57 88 4 0.938 4 +1974 39480 15 26 1 2 63 59 90 4 0.992 4 +1975 39500 36 24 1 2 12 58 89 4 0.969 4 +1976 39520 32 27 1 2 38 57 88 4 0.977 4 +1977 39540 34 20 1 2 38 56 87 4 0.938 4 +1978 39560 25 22 1 2 36 56 87 4 0.969 4 +1979 39580 29 21 1 2 36 56 87 4 0.969 4 +1980 39600 44 31 1 2 39 219 250 4 0.938 4 +1981 39620 21 34 1 2 46 143 174 4 0.852 4 +1982 39640 26 32 1 2 43 155 186 4 0.938 4 +1983 39660 35 22 1 2 42 142 173 4 0.789 4 +1984 39680 28 28 1 2 34 106 137 4 0.938 4 +1985 39700 29 28 1 2 32 105 136 4 0.984 4 +1986 39720 26 28 1 2 30 35 67 4 0.930 4 +1987 39740 34 27 1 2 23 221 252 4 0.969 4 +1988 39760 30 24 1 2 22 193 224 4 0.180 4 +1989 39780 24 22 1 2 13 189 220 4 0.180 4 +1990 39800 33 20 1 2 13 26 61 4 0.789 4 +1991 39820 29 21 1 2 10 237 268 4 0.180 4 +1992 39840 27 21 1 2 9 129 160 4 0.180 4 +1993 39860 28 21 1 2 8 230 261 4 0.992 4 +1994 39880 29 22 1 2 7 174 205 4 0.836 4 +1995 39900 30 17 1 2 5 234 265 4 0.992 4 +1996 39920 36 22 1 2 29 24 56 4 0.969 4 +1997 39940 37 39 1 2 37 47 79 4 0.984 4 +1998 39960 23 35 1 2 44 49 80 4 0.969 4 +1999 39980 28 21 1 2 44 50 81 4 0.938 4 + +# second 106 gap=+0.2435 +5300 106000 22 24 1 2 48 48 79 4 0.852 4 +5301 106020 33 27 1 2 44 48 79 4 0.852 4 +5302 106040 26 26 1 2 48 49 81 4 0.938 4 +5303 106060 29 34 1 2 49 51 82 4 0.969 4 +5304 106080 32 30 1 2 46 50 82 4 0.938 4 +5305 106100 32 34 1 2 45 49 80 4 0.969 4 +5306 106120 30 34 1 2 45 47 79 4 0.969 4 +5307 106140 41 32 1 2 45 47 80 4 0.977 4 +5308 106160 19 34 1 2 39 47 79 4 0.969 4 +5309 106180 29 31 1 2 45 43 77 4 0.992 4 +5310 106200 33 33 1 2 45 45 78 4 0.992 4 +5311 106220 36 25 1 2 48 49 80 4 0.984 4 +5312 106240 29 23 1 2 50 51 82 4 0.969 4 +5313 106260 47 24 1 2 52 50 81 4 0.938 4 +5314 106280 24 25 1 2 48 50 81 4 0.938 4 +5315 106300 18 32 1 2 43 47 79 4 0.852 4 +5316 106320 28 30 1 2 41 48 79 4 0.938 4 +5317 106340 29 29 1 2 37 48 79 4 0.922 4 +5318 106360 25 41 1 2 40 49 80 4 0.984 4 +5319 106380 34 31 1 2 41 50 82 4 0.938 4 +5320 106400 27 29 1 2 41 50 81 4 0.938 4 +5321 106420 30 36 1 2 34 51 82 4 0.984 4 +5322 106440 29 34 0 0 43 0 0 4 0.000 4 +5323 106460 21 27 1 2 44 248 279 4 0.180 4 +5324 106480 40 27 0 1 45 0 0 4 0.000 4 +5325 106500 25 23 1 2 35 225 256 4 0.180 4 +5326 106520 30 24 1 2 21 126 157 4 0.180 4 +5327 106540 34 32 1 2 23 0 33 4 0.969 4 +5328 106560 28 35 0 1 37 0 0 4 0.000 4 +5329 106580 29 32 1 2 41 227 258 4 0.180 4 +5330 106600 32 31 1 2 38 227 258 4 0.992 4 +5331 106620 25 33 1 2 39 31 62 4 0.180 4 +5332 106640 36 37 1 2 38 43 76 4 0.922 4 +5333 106660 14 30 1 2 60 48 79 4 0.969 4 +5334 106680 77 29 1 2 53 48 79 4 0.984 4 +5335 106700 15 31 1 2 63 47 79 4 0.977 4 +5336 106720 15 23 1 2 62 46 78 4 0.969 4 +5337 106740 16 28 1 2 63 47 79 4 0.992 4 +5338 106760 84 29 1 2 5 49 81 4 0.852 4 +5339 106780 16 33 1 2 37 47 79 4 0.789 4 +5340 106800 15 29 1 2 28 47 79 4 0.789 4 +5341 106820 20 28 0 1 27 0 0 4 0.000 4 +5342 106840 24 29 0 1 35 0 0 4 0.000 4 +5343 106860 30 15 1 2 16 241 272 4 0.180 4 +5344 106880 32 28 0 1 17 0 0 4 0.000 4 +5345 106900 31 31 0 1 37 0 0 4 0.000 4 +5346 106920 31 33 1 2 46 44 76 4 0.938 4 +5347 106940 27 29 1 2 48 46 80 4 0.938 4 +5348 106960 54 23 1 2 50 47 81 4 0.938 4 +5349 106980 15 19 1 2 52 47 79 4 0.852 4 + +# second 58 gap=+0.2412 +2900 58000 28 28 1 2 46 37 70 4 0.969 4 +2901 58020 35 36 1 2 42 38 69 4 0.938 4 +2902 58040 35 31 1 2 31 39 73 4 0.938 4 +2903 58060 26 25 0 0 40 0 0 4 0.000 4 +2904 58080 26 32 1 2 44 116 147 4 0.180 4 +2905 58100 29 32 1 2 46 247 278 4 0.180 4 +2906 58120 28 29 0 0 43 0 0 4 0.000 4 +2907 58140 34 28 0 0 37 0 0 4 0.000 4 +2908 58160 28 29 0 0 33 0 0 4 0.000 4 +2909 58180 35 27 1 2 28 213 244 4 0.180 4 +2910 58200 31 28 0 0 26 0 0 4 0.000 4 +2911 58220 32 23 1 2 36 33 62 4 0.930 4 +2912 58240 28 28 1 2 43 40 71 4 0.984 4 +2913 58260 37 25 1 2 45 43 76 4 0.969 4 +2914 58280 27 25 1 2 48 44 76 4 1.039 4 +2915 58300 28 23 1 2 45 46 78 4 0.992 4 +2916 58320 31 22 1 2 48 46 78 4 0.992 4 +2917 58340 14 20 1 2 61 47 79 4 0.984 4 +2918 58360 16 28 1 2 63 48 80 4 0.984 4 +2919 58380 57 21 1 2 56 49 80 4 0.992 4 +2920 58400 52 19 1 2 46 50 81 4 0.992 4 +2921 58420 13 20 1 2 63 50 81 4 0.969 4 +2922 58440 34 26 1 2 55 50 81 4 0.992 4 +2923 58460 20 22 1 2 50 50 81 4 0.969 4 +2924 58480 35 33 1 2 41 49 80 4 0.938 4 +2925 58500 31 25 1 2 38 47 80 4 0.852 4 +2926 58520 23 22 1 2 38 45 77 4 0.922 4 +2927 58540 24 35 1 2 47 49 80 4 0.992 4 +2928 58560 44 29 1 2 41 159 190 4 0.180 4 +2929 58580 24 28 1 2 35 250 281 4 0.180 4 +2930 58600 27 27 1 2 25 207 238 4 0.180 4 +2931 58620 26 25 1 2 17 165 196 4 0.180 4 +2932 58640 35 21 1 2 14 241 272 4 0.180 4 +2933 58660 28 26 1 2 14 237 268 4 0.180 4 +2934 58680 26 24 0 0 13 0 0 4 0.000 4 +2935 58700 35 20 1 2 13 218 249 4 0.852 4 +2936 58720 26 19 1 2 14 221 252 4 0.836 4 +2937 58740 36 32 1 2 20 217 248 4 0.984 4 +2938 58760 29 32 1 2 22 39 69 4 0.938 4 +2939 58780 31 27 1 2 21 42 77 4 0.836 4 +2940 58800 23 22 1 2 20 208 239 4 0.789 4 +2941 58820 35 29 1 2 33 39 71 4 0.992 4 +2942 58840 39 36 1 2 39 43 77 4 0.938 4 +2943 58860 24 28 1 2 45 45 77 4 0.984 4 +2944 58880 28 33 1 2 49 46 78 4 0.984 4 +2945 58900 31 27 1 2 47 48 79 4 0.969 4 +2946 58920 36 27 1 2 44 50 81 4 0.969 4 +2947 58940 34 29 1 2 47 51 82 4 0.938 4 +2948 58960 27 32 1 2 48 52 83 4 0.992 4 +2949 58980 27 26 1 2 47 56 87 4 1.039 4 + +# second 52 gap=+0.2183 +2600 52000 16 33 1 2 63 125 156 4 0.938 4 +2601 52020 41 33 1 2 7 196 227 4 0.789 4 +2602 52040 31 33 1 2 40 180 211 4 0.969 4 +2603 52060 31 36 1 2 38 186 217 4 0.992 4 +2604 52080 39 39 1 2 50 107 138 4 0.992 4 +2605 52100 23 31 1 2 46 106 137 4 0.938 4 +2606 52120 23 33 1 2 44 102 133 4 0.938 4 +2607 52140 26 29 1 2 38 173 204 4 0.180 4 +2608 52160 30 26 1 2 29 206 237 4 0.180 4 +2609 52180 27 27 1 2 26 247 278 4 0.969 4 +2610 52200 32 33 1 2 27 245 276 4 0.180 4 +2611 52220 30 18 1 2 19 246 277 4 0.180 4 +2612 52240 29 28 1 2 26 10 43 4 0.969 4 +2613 52260 34 22 1 2 14 203 234 4 0.180 4 +2614 52280 26 20 1 2 10 227 258 4 0.180 4 +2615 52300 34 19 1 2 12 223 254 4 0.930 4 +2616 52320 20 23 0 1 20 0 0 4 0.000 4 +2617 52340 37 30 1 2 42 40 74 4 0.961 4 +2618 52360 26 29 1 2 44 40 71 4 0.984 4 +2619 52380 32 33 1 2 42 42 75 4 0.992 4 +2620 52400 30 29 1 2 44 44 75 4 0.992 4 +2621 52420 36 36 1 2 39 46 79 4 0.992 4 +2622 52440 30 29 1 2 38 43 75 4 0.922 4 +2623 52460 30 33 1 2 39 44 77 4 0.180 4 +2624 52480 27 25 1 2 35 45 77 4 0.852 4 +2625 52500 30 24 1 2 36 45 77 4 0.938 4 +2626 52520 30 25 1 2 35 45 77 4 0.836 4 +2627 52540 31 29 1 2 39 45 77 4 0.938 4 +2628 52560 28 22 1 2 34 47 79 4 0.852 4 +2629 52580 33 29 1 2 30 47 79 4 0.789 4 +2630 52600 27 34 1 2 28 46 79 4 0.836 4 +2631 52620 29 35 0 0 32 0 0 4 0.000 4 +2632 52640 26 36 0 1 44 0 0 4 0.000 4 +2633 52660 31 36 0 1 50 0 0 4 0.000 4 +2634 52680 32 30 1 2 51 230 261 4 0.180 4 +2635 52700 29 34 0 1 51 0 0 4 0.000 4 +2636 52720 24 32 0 1 51 0 0 4 0.000 4 +2637 52740 38 29 0 0 50 0 0 4 0.000 4 +2638 52760 26 32 0 1 50 0 0 4 0.000 4 +2639 52780 27 28 0 0 48 0 0 4 0.000 4 +2640 52800 36 35 1 2 44 31 60 4 0.852 4 +2641 52820 31 30 1 2 42 37 69 4 0.977 4 +2642 52840 32 32 1 2 43 36 69 4 0.938 4 +2643 52860 28 37 1 2 43 43 75 4 0.992 4 +2644 52880 25 30 1 2 40 48 82 4 0.938 4 +2645 52900 32 26 0 0 42 0 0 4 0.000 4 +2646 52920 26 34 1 2 49 34 65 4 0.992 4 +2647 52940 33 39 1 2 46 36 69 4 0.789 4 +2648 52960 34 24 1 2 44 37 69 4 0.836 4 +2649 52980 29 30 1 2 46 40 72 4 0.938 4 + +# second 36 gap=+0.2104 +1800 36000 24 23 0 0 43 0 0 4 0.000 4 +1801 36020 40 33 1 2 38 42 71 4 0.789 4 +1802 36040 35 25 1 2 41 47 79 4 0.789 4 +1803 36060 41 27 1 2 50 49 80 4 0.938 4 +1804 36080 14 32 1 2 55 49 80 4 0.852 4 +1805 36100 12 33 1 2 63 53 84 4 0.180 4 +1806 36120 15 30 1 2 16 124 155 4 0.180 4 +1807 36140 52 28 1 2 28 48 79 4 0.969 4 +1808 36160 36 20 0 0 28 0 0 4 0.000 4 +1809 36180 28 19 1 2 20 246 277 4 0.180 4 +1810 36200 28 22 0 0 27 0 0 4 0.000 4 +1811 36220 33 24 1 2 32 52 83 4 0.992 4 +1812 36240 36 34 1 2 31 49 80 4 0.992 4 +1813 36260 35 35 1 2 36 52 83 4 0.938 4 +1814 36280 30 31 1 2 42 53 84 4 0.789 4 +1815 36300 24 35 1 2 37 56 87 4 0.922 4 +1816 36320 27 35 1 2 35 192 223 4 0.180 4 +1817 36340 32 19 1 2 23 188 219 4 0.180 4 +1818 36360 29 23 1 2 21 0 32 4 0.930 4 +1819 36380 26 29 1 2 35 0 32 4 0.180 4 +1820 36400 26 33 1 2 35 237 268 4 0.789 4 +1821 36420 35 34 0 1 42 0 0 4 0.000 4 +1822 36440 30 32 1 2 47 249 280 4 0.180 4 +1823 36460 30 31 1 2 45 250 281 4 0.180 4 +1824 36480 31 32 1 2 46 251 282 4 0.836 4 +1825 36500 29 35 0 1 47 0 0 4 0.000 4 +1826 36520 32 29 0 0 43 0 0 4 0.000 4 +1827 36540 35 25 1 2 39 45 77 4 0.984 4 +1828 36560 27 24 1 2 43 52 83 4 0.969 4 +1829 36580 29 30 1 2 38 51 82 4 0.992 4 +1830 36600 35 33 1 2 36 55 86 4 0.992 4 +1831 36620 32 31 1 2 37 56 87 4 0.180 4 +1832 36640 26 37 1 2 36 55 86 4 0.930 4 +1833 36660 26 36 1 2 38 51 82 4 0.852 4 +1834 36680 31 28 0 0 38 0 0 4 0.000 4 +1835 36700 25 35 0 0 43 0 0 4 0.000 4 +1836 36720 32 31 0 0 42 0 0 4 0.000 4 +1837 36740 28 31 1 2 36 250 281 4 0.984 4 +1838 36760 30 23 1 2 32 201 232 4 0.180 4 +1839 36780 39 20 1 2 36 51 82 4 0.930 4 +1840 36800 29 27 1 2 32 106 137 4 0.938 4 +1841 36820 26 21 1 2 32 102 133 4 0.938 4 +1842 36840 30 23 1 2 30 48 79 4 0.789 4 +1843 36860 34 29 1 2 24 246 277 4 0.180 4 +1844 36880 30 28 1 2 17 88 119 4 0.836 4 +1845 36900 27 25 1 2 24 140 171 4 0.852 4 +1846 36920 29 28 1 2 28 249 280 4 0.953 4 +1847 36940 29 30 1 2 19 245 276 4 0.180 4 +1848 36960 31 31 1 2 20 180 211 4 0.992 4 +1849 36980 32 27 1 2 27 242 273 4 0.930 4 + +# --- global stats --- +# voiced frames: 5353/6000 +# 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)] +# nlsf_interp histogram: [(4, 6000)] +# avg bytes/frame: ours=29.9 ref=28.4 +# mean ltp_gain: 0.6571