🔊 Fixed: Streaming Audio Quality Issues
Eliminated clicks and micro-cuts in streaming TTS!
The most noticeable improvement in this release is the complete elimination of audio artifacts during streaming playback. We've achieved this through:
- Complete removal of audio trimming (
TRIM_MS_FROM_END: 100ms → 0ms) - Preservation of natural audio transitions between sentences
- Smart buffering algorithm with exponential growth for optimal performance
🚀 New Features & Improvements
Smart Buffering System
- Exponential buffer growth algorithm for adaptive streaming
- Multi-language sentence separators for better text segmentation
- Support for global punctuation patterns
Performance Optimizations
- Conditional audio processing to skip unnecessary operations
- Increased synthesis delay (100ms → 150ms) for better buffer synchronization
- Reduced CPU usage by eliminating redundant trimming operations
Enhanced Multi-language Support
- Comprehensive sentence separators:
\n。.,,;;!!??、 - Better handling of Asian languages and special punctuation
- Improved text segmentation for all supported languages
🎯 Who Should Update?
This update is highly recommended for all users experiencing:
- Audio clicks or pops during streaming TTS
- Unnatural pauses between sentences
- Buffering issues with long responses
- Quality issues with multi-language content