[loop-cycle-5] refactor: split voice_loop.py into voice/ subpackage (#1379) #1456

Merged
Timmy merged 1 commits from refactor/split-voice-loop into main 2026-03-24 19:26:55 +00:00
Owner

Fixes #1379

Splits 572-line voice_loop.py into:

  • voice/audio_io.py - audio capture/playback constants + _rms()
  • voice/speech_engines.py - STT/TTS constants + _strip_markdown()
  • voice/activation.py - hallucination filtering + exit commands
  • voice/helpers.py - MCP noise suppression
  • voice/stt.py - STTMixin (record, transcribe)
  • voice/tts.py - TTSMixin (Piper, say, play)
  • voice/llm.py - LLMMixin (chat, event loop)
  • voice_loop.py - thin 176-line orchestrator

All backward-compatible imports preserved. No module exceeds 200 lines.
966 tests pass.

Fixes #1379 Splits 572-line voice_loop.py into: - voice/audio_io.py - audio capture/playback constants + _rms() - voice/speech_engines.py - STT/TTS constants + _strip_markdown() - voice/activation.py - hallucination filtering + exit commands - voice/helpers.py - MCP noise suppression - voice/stt.py - STTMixin (record, transcribe) - voice/tts.py - TTSMixin (Piper, say, play) - voice/llm.py - LLMMixin (chat, event loop) - voice_loop.py - thin 176-line orchestrator All backward-compatible imports preserved. No module exceeds 200 lines. 966 tests pass.
Timmy added 1 commit 2026-03-24 19:26:20 +00:00
refactor: split voice_loop.py into voice/ subpackage (#1379)
Some checks failed
Tests / lint (pull_request) Failing after 8s
Tests / test (pull_request) Has been skipped
f32077ae8d
Timmy merged commit 640d78742a into main 2026-03-24 19:26:55 +00:00
Timmy deleted branch refactor/split-voice-loop 2026-03-24 19:26:55 +00:00
Sign in to join this conversation.
No Reviewers
No Label
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: Rockachopa/Timmy-time-dashboard#1456