kochmorse
kochmorse copied to clipboard
User based rules produces no sound
OS is Linux mint 19 cinamon. (French locales) issue is : "User based rules produces no sound". All others tutors sound output are ok. => AFAIK not a sound system configuration issue user rules xml file used for test is a cut paste of example ABC given in help (see attached file) => Not a syntax issue Tried with both windows and linux EOL encoding xml file encoding is UTF8 abc.xml.zip
Thanks for reporting this issue, there is a bug in translating text into morse code. The engine expects lower-case letters and ignores any upper-case letters. I'll fix it with the next release. In the meantime, try using lower-case letters only.
By the way, I you are compiling kochmorse from the source code, you can build a utility tool to test your text generation file. This may help with writing your own generation rules:
When calling cmake, pass the -DWITH_TEXTGEN=ON option to CMake: E.g.,
cmake .. -DCMAKE_INSTALL_PREFIX=~/.local/ -DWITH_TEXTGEN=ON
make
make install
This will build and install kochmore and textgen
for your user only under ~/.local/
You can then run textgen with
textgen YOUR_XML_FILE.xml