1import wave
2from phoonnx.config import SynthesisConfig
3from phoonnx.voice import TTSVoice
4
5voice = TTSVoice.from_hf("OpenVoiceOS/phoonnx_es-CO_dii_espeak")
6
7synthesis_config = SynthesisConfig(noise_scale=0.667, length_scale=1.0, noise_w_scale=0.8)
8
9with wave.open("output.wav", "wb") as wav_file:
10 voice.synthesize_wav("Buenos días, ¿cómo estás?", wav_file, synthesis_config)
You can also use this model in OVOS with
ovos-tts-plugin-phoonnx:
1{
2 "tts": {
3 "module": "ovos-tts-plugin-phoonnx",
4 "ovos-tts-plugin-phoonnx": {
5 "voice": "OpenVoiceOS/phoonnx_es-CO_dii_espeak"
6 }
7 }
8}
Miro and Dii are the recorded voices of two real people. The voices, the
training data, and this model belong to TigreGotico Lda
(
https://tigregotico.pt).
This model is licensed under Creative Commons
Attribution-NonCommercial-NoDerivatives 4.0 (CC BY-NC-ND 4.0). You may use
and share this model for non-commercial purposes only. Give attribution to
TigreGotico Lda. Do not modify, adapt, or build new models from this model.
Do not use the voice identity to create derivative voices.
For commercial use, for derivative models, or for any other license of the
Miro or Dii voice identity, contact TigreGotico Lda.