Blind sets round 3; hearing: early transcription (end of speech to text 1.14 -> 0.83 s), live slips read right, noise words and loops dropped

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
2026-10-22 23:24:34 +09:00
co-authored by Claude Opus 5.5
parent e5344ac58e
commit 2aa68eba00
63 changed files with 8752 additions and 28 deletions
+3 -1
View File
@@ -96,7 +96,9 @@ def synth(pieces, voice, speed):
x = np.concatenate(parts)
x = np.interp(np.arange(0, len(x), tts.sample_rate / ears.RATE), np.arange(len(x)), x).astype(np.float32)
f.parent.mkdir(parents=True, exist_ok=True)
np.save(f, x)
tmp = f.with_suffix(f".{time.time_ns()}.tmp.npy")
np.save(tmp, x)
tmp.replace(f) # whole, for another check reading the cache
return x