Brazilian Portuguese Piper voices for paroli (streaming)
The official Piper pt_BR voices, converted to the encoder + decoder ONNX pair used by paroli's streaming synthesis: the decoder runs in small chunks, so audio starts playing about 0.2 s after a sentence is sent and synthesis can be cancelled mid-sentence. Used by the Windows port paroli-windows and by the DuckFaceLLM voice mode.
| Folder | Voice | Quality | Sample rate |
|---|---|---|---|
pt_BR-faber-medium | faber (male) | medium | 22,050 Hz |
pt_BR-cadu-medium | cadu (male) | medium | 22,050 Hz |
pt_BR-jeff-medium | jeff (male) | medium | 22,050 Hz |
Each folder contains:
encoder.onnx: text/phonemes to latent (z, y_mask)decoder.onnx: flow + HiFi-GAN vocoder, run on chunks of zmodel.json: the original Piper voice config (espeak voicept-br, phoneme map, sample rate)
Usage
paroli-stream --encoder pt_BR-faber-medium/encoder.onnx --decoder pt_BR-faber-medium/decoder.onnx -c pt_BR-faber-medium/model.json
paroli-cli --encoder pt_BR-faber-medium/encoder.onnx --decoder pt_BR-faber-medium/decoder.onnx -c pt_BR-faber-medium/model.json
Measured on a laptop CPU (no GPU): time to first audio ~175 ms, real-time factor ~0.13.
How they were made
Exported from the official Piper training checkpoints
(rhasspy/piper-checkpoints, pt/pt_BR)
with tools/export_streaming.py from paroli-windows. It is a port of
mush42's piper_train.export_onnx_streaming that runs on current
Python/PyTorch and loads the checkpoint with weights_only=True. Opset 15.
No retraining: the weights are the same as the published Piper voices.
License and credits
- Voices: trained by the Piper project (Michael Hansen / Open Home Foundation), fine-tuned from the U.S. English lessac voice, from CC0 datasets (OHF-Voice/voice-datasets). The rhasspy/piper-voices repository is MIT licensed.
- Streaming split: paroli by Martin Chang (MIT), export code by mush42 (MIT).