Dec 7, 2025 20:24 Merge branch 'main' of https://github.com/8b-is/IndexTTS-Rust 20:24 Refactor: Remove internationalization (i18n) support and related files - Deleted i18n.py, zh_CN.json, and en_US.json files to eliminate localization features.
- Removed scan_i18n.py script responsible for scanning and updating i18n strings.
- Updated download_files.py permissions to make it executable.
- Removed webui.py, which contained the main application logic and UI components. Nov 16, 2025 17:38 Refactor code for improved readability and performance across multiple modules 02:04 Convert IndexTTS to pure Rust implementation Claude
Complete rewrite of IndexTTS from Python to Rust for maximum performance:
Core Features:
- Audio processing with mel-spectrogram computation using RealFFT
- STFT/iSTFT implementation with proper windowing
- Mel filterbank creation with triangular filters
- Audio I/O for WAV files using hound
- Sample rate resampling with rubato
Text Processing:
- Text normalization (Chinese/English punctuation handling)
- BPE tokenization with vocabulary support
- Phoneme conversion system
- Multi-language detection (Chinese, English, Mixed)
Model Inference:
- ONNX Runtime integration with session management
- Speaker encoder for voice cloning
- Emotion encoder with 8-dimensional control
- Semantic encoder for audio codes
- GPT model wrapper with sampling strategies
Vocoder:
- BigVGAN neural vocoder (fallback implementation)
- Snake activation functions for neural synthesis
- Griffin-Lim as simple fallback vocoder
Pipeline:
- Complete TTS synthesis orchestration
- Configurable synthesis options
- …