Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

User based rules produces no sound #43

Open
f4hpv opened this issue Jul 4, 2021 · 2 comments
Open

User based rules produces no sound #43

f4hpv opened this issue Jul 4, 2021 · 2 comments
Assignees
Labels

Comments

@f4hpv
Copy link

f4hpv commented Jul 4, 2021

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

@hmatuschek
Copy link
Owner

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 hmatuschek added the bug label Jul 5, 2021
@hmatuschek hmatuschek self-assigned this Jul 5, 2021
@hmatuschek
Copy link
Owner

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants