rhasspy / piper

A fast, local neural text to speech system

Home Page:https://rhasspy.github.io/piper-samples/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Solution to Accents and "Ñ" for Spanish models:

ManoleteGuitar opened this issue · comments

Run from CMD:

piper.exe -m es_ES-davefx-medium.onnx --output_file out.wav --json-input < input.json

*Input.json file structure:
{ "text": "Tomorrow will be a good day." }

*Parsing with echo:
echo "Mañana será un buen día" | piper.exe --model .\models\es_ES-davefx-medium.onnx --output_file out.wav

-- Note:
Powershell with CAT creates problems with the UTF encoding of special characters such as accents and the "Ñ" letter .

Saludos.

I have similar problem with polish "ą" letter

Try running chcp 65001 first.

Try running chcp 65001 first.

well it did not helped, however using cmder.app solved problem with diacritic symbols as mentioned in #460