File size: 2,406 Bytes
bd7ef54 4331ad1 bd7ef54 4331ad1 b6b857c 4331ad1 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 | ---
language:
- ca
license: cc-by-nc-nd-4.0
pipeline_tag: text-to-speech
datasets:
- TigreGotico/tts_vc_LaFrescat-ca-ES-central_miro
base_model:
- OpenVoiceOS/phoonnx_an_miro_unicode
tags:
- phoonnx
- onnx
- vits
- text-to-speech
- ca
---
# phoonnx_ca_miro_espeak
This is a text-to-speech voice model for **Catalan**. The voice is **Miro**, a male voice. It uses the phoonnx VITS architecture with espeak-ng for phonemization, exported to ONNX for CPU inference. It was fine-tuned from the base voice `phoonnx_an_miro_unicode`, the closest available language for this voice.
## How to use
Install [phoonnx](https://github.com/TigreGotico/phoonnx) and run:
```python
import wave
from phoonnx.config import SynthesisConfig
from phoonnx.voice import TTSVoice
voice = TTSVoice.from_hf("OpenVoiceOS/phoonnx_ca_miro_espeak")
synthesis_config = SynthesisConfig(noise_scale=0.667, length_scale=1.0, noise_w_scale=0.8)
with wave.open("output.wav", "wb") as wav_file:
voice.synthesize_wav("Bon dia, com estàs?", wav_file, synthesis_config)
```
You can also use this model in OVOS with
[ovos-tts-plugin-phoonnx](https://github.com/OpenVoiceOS/ovos-tts-plugin-phoonnx):
```json
{
"tts": {
"module": "ovos-tts-plugin-phoonnx",
"ovos-tts-plugin-phoonnx": {
"voice": "OpenVoiceOS/phoonnx_ca_miro_espeak"
}
}
}
```
## Training data
Trained on [TigreGotico/tts_vc_LaFrescat-ca-ES-central_miro](https://huggingface.co/datasets/TigreGotico/tts_vc_LaFrescat-ca-ES-central_miro).
## Related links
- Training-data collection: https://huggingface.co/collections/TigreGotico/synthetic-tts-datasets
- phoonnx: https://github.com/TigreGotico/phoonnx
- voiceclonnx: https://github.com/TigreGotico/voiceclonnx
- TigreGotico: https://tigregotico.pt
## Ownership and licensing
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.
|