🤗 Hugging Face | 💬 Discord | 𝕏 X (Twitter) | 🌐 Website | 📰 Blog
OuteTTS is an experimental text-to-speech model that uses a pure language modeling approach to generate speech, without architectural changes to the foundation model itself.
OuteTTS supports the following backends:
Backend |
---|
Hugging Face Transformers |
GGUF llama.cpp |
ExLlamaV2 |
Transformers.js |
pip install outetts
Important:
- For GGUF support, install
llama-cpp-python
manually. Installation Guide - For EXL2 support, install
exllamav2
manually. Installation Guide
npm i outetts
outetts
package provide two interfaces for OuteTTS with support for different models:
Interface | Supported Models | Documentation |
---|---|---|
Interface v1 | OuteTTS-0.2, OuteTTS-0.1 | View Documentation |
Interface v2 | OuteTTS-0.3 | View Documentation |
Generation Performance: The model performs best with 30-second generation batches. This window is reduced based on the length of your speaker samples. For example, if the speaker reference sample is 10 seconds, the effective window becomes approximately 20 seconds.
To achieve the best results when creating a speaker profile, consider the following recommendations:
-
Audio Clip Duration:
- Use an audio clip of around 10 seconds.
- This duration provides sufficient data for the model to learn the speaker's characteristics while keeping the input manageable.
-
Audio Quality:
- Ensure the audio is clear and noise-free. Background noise or distortions can reduce the model's ability to extract accurate voice features.
-
Speaker Familiarity:
- The model performs best with voices that are similar to those seen during training. Using a voice that is significantly different from typical training samples (e.g., unique accents, rare vocal characteristics) might result in inaccurate replication.
- In such cases, you may need to fine-tune the model specifically on your target speaker's voice to achieve a better representation.
-
Parameter Adjustments:
- Adjust parameters like
temperature
in thegenerate
function to refine the expressive quality and consistency of the synthesized voice.
- Adjust parameters like
- WavTokenizer: GitHub Repository
decoder
andencoder
folder files are from this repository
- CTC Forced Alignment: PyTorch Tutorial
- Uroman: GitHub Repository
- "This project uses the universal romanizer software 'uroman' written by Ulf Hermjakob, USC Information Sciences Institute (2015-2020)".
- mecab-python3 GitHub Repository