Views
No views yet
1import torch
2import scipy.io.wavfile as wavfile
3from TTS.utils.synthesizer import Synthesizer
4
5# Load the model
6synthesizer = Synthesizer(
7 tts_checkpoint="path/to/coqui-tts-max.pth",
8 tts_config_path="path/to/config.json",
9 use_cuda=torch.cuda.is_available()
10)
11
12# Generate speech
13wav = synthesizer.tts("moien, wéi geet et dir?")
14
15# Save to file
16wavfile.write("output.wav", 22050, wav)| Parameter | Value |
|---|---|
| Hidden Channels | 192 |
| Text Encoder Layers | 6 |
| Posterior Encoder Layers | 16 |
| Flow Layers | 4 |
| Mel Channels | 80 |
| FFT Size | 1024 |
1@misc{zls2025coquimax,
2 title={Coqui TTS Max - Luxembourgish Male Voice},
3 author={Zenter fir d'Lëtzebuerger Sprooch},
4 year={2025},
5 publisher={Hugging Face},
6 url={https://huggingface.co/ZLSCompLing/CoquiTTS-Max}
7}https://lod.lu/uploads/examples/AAC/{folder}/{id}.m4a{folder} is the first 2 characters of {id}.