docs(voice): consonant shelf numbers measured with voiced masks

Re-measured as a final is levelled (Silero voiced windows): live 25 sure
utterances 5.04% -> 3.92% CER, FLEURS Korean test 5.11% -> 4.85%. The
shelf does not fix a wake word whose first consonant is not heard.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
javis-bot
2026-11-18 18:18:30 +09:00
parent 49050b18a9
commit 04c23f9bf7
3 changed files with 15 additions and 12 deletions

View File

@@ -54,10 +54,10 @@ TARGET_DB = -20.0 # loudness every speaker is brought to, dBFS RMS over the
MAX_GAIN_DB = 40.0 # a whisper at -60 dBFS still reaches the target; pure hiss is not blown up
MIN_GAIN_DB = -20.0
HIGHPASS_HZ = 60.0 # mains hum and desk rumble carry no speech
# Consonants ("ㅈ", "ㅅ") live above 1 kHz and are what a dark microphone or a swallowed syllable loses.
# Raised by a shelf that rises over one octave around HIGH_SHELF_HZ. Measured with large-v3-turbo:
# FLEURS Korean (held-out test split, 382 clips) 5.16% -> 4.98% CER, a dark real speaker 5.0% -> 3.4%;
# 6 dB did little, 18-24 dB no better on FLEURS and worse on the real speaker.
# Consonants ("ㅈ", "ㅅ") and soft sentence ends live above 1 kHz and are what a dark microphone or a
# swallowed syllable loses. Raised by a shelf that rises over one octave around HIGH_SHELF_HZ. Measured
# with large-v3-turbo (voiced masks from Silero): FLEURS Korean test split (382 clips, held out) 5.11% ->
# 4.85% CER, 25 live utterances of a dark speaker 5.04% -> 3.92%; 6 dB did little, 18-24 dB no better.
HIGH_SHELF_HZ = 1000.0
HIGH_SHELF_DB = 12.0
_KNEE = 0.8 # soft limiter: peaks above this bend smoothly towards the ceiling instead of clipping

View File

@@ -110,13 +110,16 @@ its own streaming Silero VAD (512-sample windows, state kept between frames).
speech under loud clicks or knocks better than with peak normalisation.
Before the level is measured, the band where consonants such as "ㅈ" and "ㅅ" live is raised by
12 dB: a shelf that rises over one octave from 707 Hz to 1.41 kHz (centred on 1 kHz) and stays
flat above. A dark microphone, or a speaker who swallows first consonants and sentence ends, loses
that band first ("자비스" heard as "아비스", "서울" as "어우"). Measured with large-v3-turbo on 32
real Discord utterances of such a speaker: 5.0% character errors on the 25 whose words are sure, down to 3.4%,
with sentence ends ("어때", "틀어줘") and wake words kept that were lost before; on FLEURS
Korean, tuned on the dev split (224 clips, 4.66% to 4.32%) and checked on the held-out test split
(382 clips, 5.16% to 4.98%). 6 dB changed little; 18 and 24 dB were no better on FLEURS and worse on
the real speaker. The noise check below is unchanged with it (108 clips, none with text).
flat above. A dark microphone, or a speaker who swallows consonants and sentence ends, loses that
band first. Measured with large-v3-turbo, each clip levelled with its Silero voiced windows as a
final is: on 32 real Discord utterances of such a speaker, 5.04% character errors (18 of 357) on
the 25 whose words are sure, down to 3.92% (14), with sentence ends ("어때", "틀어줘") and words
("연제구는") recovered and none lost; on FLEURS Korean, checked on the held-out test split (382
clips), 5.11% to 4.85%. A wake word whose first consonant is not heard at all ("자비스" as
"아비스" or "다비스") is not fixed by it (14 of 23 exact before and after); call detection's near
match catches those one letter away. 6 dB changed little; 18 and 24 dB were no better on FLEURS
and worse on the real speaker. The noise check below is unchanged with it (108 clips, none with
text).
### Scheduling