zoglmannk / Morse-Code-Ninja

Software used to generate Morse Code Ninja practice sets as found on https://morsecode.ninja/practice/index.html
https://morsecode.ninja
GNU General Public License v3.0
32 stars 14 forks source link

Problem render with Swedish language #44

Closed heppstar closed 8 months ago

heppstar commented 1 year ago

Command: perl render.pl -i mindmelt_hard.txt -s 25 -sm 0.01 --norepeat --nocourtesytone --lang SWEDISH

Result: botocore.exceptions.ClientError: An error occurred (ValidationException) when calling the SynthesizeSpeech operation: This voice does not support the selected engine: neural Engine:neural Processing sentence filename: /home/cw/Documents/Morse-Code-Ninja-main/mindmelt_hard-00001.txt Working directory:/home/cw/Documents/Morse-Code-Ninja-main Cache directory: /home/cw/Documents/Morse-Code-Ninja-main/cache/ Using Voice: Astrid Use of uninitialized value $voiced_filename in concatenation (.) or string at render.pl line 631. voiced_filename: text2speech.py exited with value 1 text2speech.py exit_code: 256

zoglmannk commented 8 months ago

Sorry, this has taken so long to look into. I'm just now seeing it.

zoglmannk commented 8 months ago

This is now fixed in the main branch. Swedish can now be rendered using the Neural and Standard engines. The issue was that rendering with the Neural engine was broken, which was the default.