mirror of
https://github.com/D-Modem/speaking-clock.git
synced 2026-11-28 20:48:04 -08:00
A PlainTalk unit is one continuous stretch of sound cut into frames of N samples, and the lag byte plus N - 1 is the pitch period (it matches the recorded period lengths). The frames were being treated as one pitch period each and resampled, which clicked at every frame: the crackle. Units are now decoded as a signal (the short last frame too), the recorded period lengths are its pitch marks, and TD-PSOLA sets each phoneme's pitch and length. A 6 kHz low-pass takes off the hiss of the 2-bit coding. The PlainTalk voices also slow down and fall much less at the end of a phrase (final_k). Whisper base.en word errors over ten sentences: 36% before, 28% now (Agnes 17%, Bruce and Victoria 34%). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01B82eRRAKCKq1gSHpownvFE