Skip to content

Voice isolation — separating clean speech from background noise and mixed audio.

Python
8.1 KB
Raw Blame

Metric controls

Known damage in, what the published metrics say about it out. Every row is a synthetic system built from the paired audio of a fixed, language-stratified slice of the set (360 items over 15 conditions; set f5a6420d67b7ef45) and scored by the same code as a real system. Columns are read on the clean items of the slice, where the reference is the input and a defect is the only thing that happened; lost_pct is the share of speech blocks kept below -10 dB, mag_snr the signal-to-error ratio of the magnitude spectrum, nv_lost_pct the share of vocal sounds outside speech lost on the clean recordings of laughs, breaths and sighs, fidelity the published axis, and babble suppression is read at +4 dB. A delay of up to 100 ms, a flipped polarity and a gain of up to 12 dB are conventions the scorer undoes, not damage. The last three columns are the same-room block's rows, read on its items from two renders of the control, of the mixture and of the reference, as the board reads every system (scoreevents.py): the noise left over the labelled events and pauses, in dB, and the voice's level with the noise against without; a slice without the block leaves them blank. Generated by scripts/controls.py; the expectations live in its EXPECTED table.

control the system returns si_sdr kept_coh_p10 lost_pct level_err hf_err spk_sim nisqa_mos mag_snr nv_lost_pct fidelity babble_supp_db event_resid_db floor_resid_db voice_level_db held
reference the clean reference, untouched 117.5 0.0 0.0 0.00 0.00 1.000 4.54 120.0 0.0 1.00 -58.2 -20.0 -20.0 0.0 yes
input the unprocessed mixture 117.5 0.0 0.0 0.00 0.00 1.000 4.54 120.0 0.0 1.00 0.0 0.0 0.0 -0.0 yes
silence nothing -90.0 -68.0 100.0 212.10 84.05 0.528 2.11 0.0 100.0 0.00 4.0 0.0 0.0 -20.0 yes
bedonly the mixture minus the reference: everything but the voice -90.0 -68.0 100.0 212.10 84.05 0.528 2.11 0.0 100.0 0.00 12.6 0.0 0.0 -20.0 yes
gainup6db the reference 6 dB louder 123.5 -0.0 0.0 6.00 0.00 1.000 4.39 120.0 0.0 0.83 -58.2 -20.0 -20.0 0.0 yes
gaindown6db the reference 6 dB quieter 111.5 -0.0 0.0 6.00 0.00 1.000 4.43 120.0 0.0 0.84 -58.2 -20.0 -20.0 0.0 yes
polarity the reference with its sign flipped 117.5 0.0 0.0 0.00 0.00 1.000 4.54 120.0 0.0 1.00 -58.2 -20.0 -20.0 0.0 yes
delay20ms the reference 20 ms late 117.5 0.0 0.0 0.00 0.00 1.000 4.55 120.0 0.0 1.00 -58.2 -20.0 -20.0 0.0 yes
delete20ms the reference with 20 ms of speech removed 31.2 0.0 0.0 0.01 0.01 1.000 4.18 33.4 0.0 0.91 -24.1 -20.0 -20.0 0.0 yes
delete40ms the reference with 40 ms of speech removed 24.5 0.0 0.1 0.04 0.05 0.999 3.97 25.9 0.0 0.83 -18.5 -20.0 -20.0 0.0 yes
delete80ms the reference with 80 ms of speech removed 19.7 0.0 1.6 0.07 0.06 0.998 3.88 20.4 1.3 0.78 -16.5 -20.0 -20.0 0.0 yes
delete160ms the reference with 160 ms of speech removed 18.4 0.0 2.7 0.13 0.24 0.998 3.87 18.9 5.2 0.75 -15.0 -19.7 -20.0 -0.0 yes
delete320ms the reference with 320 ms of speech removed 15.6 -1.8 5.9 0.27 0.85 0.997 3.83 16.0 0.0 0.70 -10.5 -19.7 -20.0 -0.0 yes
hfinvented the reference with 8-24 kHz replaced by noise of the same energy 20.3 -0.7 0.9 0.00 0.19 1.000 4.50 28.9 2.6 0.97 -15.2 -20.0 -20.0 0.0 yes
hfcut the reference with 8-24 kHz removed 23.4 -0.6 0.7 0.06 70.43 1.000 4.61 23.4 2.6 0.79 -18.2 -20.0 -20.0 0.0 yes
resynth the reference re-synthesised: same spectrogram, phases perturbed (another waveform) 26.0 -0.0 0.0 0.03 0.00 1.000 4.52 31.9 0.0 1.00 -22.0 -20.0 -20.0 0.0 yes
floorless the reference with its own noise floor gated out 59.9 -0.0 0.0 0.00 0.00 0.999 4.50 61.5 0.0 1.00 -52.9 -20.0 -20.0 0.0 yes
halfnoise the reference with half of what the mixture added 117.5 0.0 0.0 0.00 0.00 1.000 4.54 120.0 0.0 1.00 -6.0 -6.0 -6.0 -0.0 yes
transientsleft the reference with what the mixture added above -40 dBFS: its transients left, its quiet floor gone 117.5 0.0 0.0 0.00 0.00 1.000 4.54 120.0 0.0 1.00 -0.0 -0.6 -19.2 -0.0 yes
floorleft the reference with what the mixture added under -40 dBFS: its quiet floor left, its transients gone 117.5 0.0 0.0 0.00 0.00 1.000 4.54 120.0 0.0 1.00 -40.1 -15.2 -0.0 -0.0 yes
voiceducked the reference 3 dB quieter wherever the mixture added anything: a gate rid of the noise at the voice's expense, under the voice gate 117.5 0.0 0.0 0.00 0.00 1.000 4.54 120.0 0.0 1.00 -6.7 0.0 0.0 -3.0 yes

Blind spots

  • delete20ms: retention is read per 100 ms block and as a 10th percentile: a dropped 20-80 ms (a consonant, a syllable onset) moves neither; only NISQA, waveform SI-SDR and the magnitude ratio react, the last from 40 ms on (a 20 ms hole stays above its ceiling). A recogniser's transcript does not react either: Whisper large-v3 restores the word from context for holes up to 160 ms (scorecontent.py's ctl_ rows), so the content check sees a dropout only from about 320 ms.
  • delete40ms: as delete20ms.
  • delete80ms: as delete20ms; lost_pct starts to see it when the span empties a block.
  • hfinvented: a top octave replaced by noise of the same energy keeps every band level, the speaker embedding and NISQA; waveform SI-SDR reacts but cannot tell this from a harmless re-synthesis (resynth), and the magnitude ratio moves little, because the top octave holds little of the energy. Whether listeners hear it is an open listening question.

Expectations: reference fidelity >= 0.95, kept_coh_p10 >= -1, lost_pct <= 0.5, nv_lost_pct <= 0.5, spk_sim >= 0.99, event_resid_db <= -19.9, floor_resid_db <= -19.9, voice_level_db >= -0.1, si_sdr >= 60; input fidelity >= 0.95, event_resid_db >= -0.05, floor_resid_db >= -0.05, voice_level_db <= 0.05; silence fidelity <= 0.5, kept_coh_p10 <= -40, lost_pct >= 99, nv_lost_pct >= 99; bedonly fidelity <= 0.5, kept_coh_p10 <= -40, lost_pct >= 99, nv_lost_pct >= 99, babble_supp_db >= 0; gainup6db level_err >= 5.5, fidelity <= 0.85, lost_pct <= 0.5, event_resid_db <= -19.9, floor_resid_db <= -19.9, voice_level_db >= -0.1; gaindown6db level_err >= 5.5, fidelity <= 0.85, lost_pct <= 0.5, event_resid_db <= -19.9, floor_resid_db <= -19.9, voice_level_db >= -0.1; polarity fidelity >= 0.95, kept_coh_p10 >= -1, lost_pct <= 0.5, nv_lost_pct <= 0.5, spk_sim >= 0.99, event_resid_db <= -19.9, floor_resid_db <= -19.9, voice_level_db >= -0.1; delay20ms fidelity >= 0.95, kept_coh_p10 >= -1, lost_pct <= 0.5, nv_lost_pct <= 0.5, spk_sim >= 0.99, event_resid_db <= -19.9, floor_resid_db <= -19.9, voice_level_db >= -0.1; delete20ms nisqa_mos <= 4.35; delete40ms nisqa_mos <= 4.35; delete80ms nisqa_mos <= 4.35; delete160ms nisqa_mos <= 4.35, fidelity <= 0.95; delete320ms lost_pct >= 2, fidelity <= 0.9; hfinvented si_sdr <= 25; hfcut hf_err >= 3, fidelity <= 0.85; resynth fidelity >= 0.95, kept_coh_p10 >= -1, lost_pct <= 0.5, nv_lost_pct <= 0.5, spk_sim >= 0.99, event_resid_db <= -19.9, floor_resid_db <= -19.9, voice_level_db >= -0.1, mag_snr >= 30; floorless fidelity >= 0.95, kept_coh_p10 >= -1, lost_pct <= 0.5, nv_lost_pct <= 0.5, spk_sim >= 0.99, event_resid_db <= -19.9, floor_resid_db <= -19.9, voice_level_db >= -0.1; halfnoise event_resid_db <= -5.9, floor_resid_db <= -5.9, voice_level_db >= -0.1; transientsleft event_resid_db >= -3, floor_resid_db <= -15; floorleft event_resid_db <= -10, floor_resid_db >= -0.5; voiceducked voice_level_db <= -2.9, floor_resid_db >= -0.1, event_resid_db >= -0.1.