zoglmannk / Morse-Code-Ninja

Software used to generate Morse Code Ninja practice sets as found on https://morsecode.ninja/practice/index.html

Home Page:https://morsecode.ninja

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Problem render with Swedish language

heppstar opened this issue · comments

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

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

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.