kochmorse icon indicating copy to clipboard operation
kochmorse copied to clipboard

User based rules produces no sound

Open f4hpv opened this issue 3 years ago • 2 comments

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

f4hpv avatar Jul 04 '21 17:07 f4hpv

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.

hmatuschek avatar Jul 05 '21 17:07 hmatuschek

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

hmatuschek avatar Jul 05 '21 19:07 hmatuschek