# Ticket: Integrate TTS with Clients ## Ticket Information - **ID**: TICKET-016 - **Title**: Integrate TTS with Clients - **Type**: Feature - **Priority**: High - **Status**: Backlog - **Track**: Voice I/O, Clients/UI - **Milestone**: Milestone 2 - Voice Chat MVP - **Created**: 2024-01-XX ## Description Integrate TTS service with clients: - Streaming audio back to browser or mobile client - Simple audio player with barge-in (stop speaking if interrupted) - Handle audio playback errors - Visual feedback during speech ## Acceptance Criteria - [ ] TTS streaming to browser client working - [ ] TTS streaming to mobile client working - [ ] Barge-in functionality (interrupt speech) - [ ] Audio playback error handling - [ ] Visual feedback during speech ## Technical Details Implementation: - WebSocket or HTTP streaming for audio - Audio element with controls - Interrupt detection (wake-word or button) - Graceful stop and cleanup ## Dependencies - TICKET-014 (TTS service) - TICKET-021 (phone client) or TICKET-022 (web dashboard) ## Related Files - `home-voice-agent/clients/` (to be created) ## Notes Requires client implementation. Can be done in parallel with client development.