Improve attention, voice direction, reach, pick and follow from live feedback

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
2026-10-27 20:22:32 +09:00
co-authored by Claude Opus 5.5
parent 2e8dc226ff
commit e3fa2d95b3
92 changed files with 2183 additions and 307 deletions
+8
View File
@@ -273,6 +273,14 @@ def transcribe(audio, prompt=None):
return text
def quick(audio):
"""transcribe() for a short window of speech still going on (mic.peek()): not kept in HEARD_DIR, no early run."""
text, stt = _hear(audio, None)
last_stt.clear()
last_stt.update(stt, early=False)
return text
def early(audio):
"""mic.py, in a pause of an utterance still going on: whisper starts on what was said so far, in the background
(one run at a time: a newer one waits for the older)."""