-
Notifications
You must be signed in to change notification settings - Fork 16
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: Implement echo cancellation and improve audio handling
- Add echo cancellation to reduce false triggers from TTS output - Separate input (microphone) and output (TTS) audio paths - Refactor audio utilities for better modularity and reusability Changes: - Add setupEchoCancellation function in audio-utils.js - Implement getProcessedAudioStream for echo-cancelled audio - Modify startRecording in InteractMode.vue to use echo cancellation - Update playAudio and addToAudioQueue for improved audio management - Ensure AudioContext persistence across component lifecycle This commit aim to improve the voice interaction experience by reducing self-triggering and enhancing audio playback control.
- Loading branch information
Showing
2 changed files
with
98 additions
and
62 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters