oe1wkl / Morserino-32

Morserino-32 multi-functional Morse code machine, based on ESP32
GNU General Public License v3.0
253 stars 98 forks source link

Add adaptive koch echo trainer #52

Closed DO1GDO closed 2 years ago

DO1GDO commented 2 years ago

When i reached koch lesson 25 i noticed that new characters are not repeated as often as e.g. in koch lesson 10. You need to key lot a characters until the new character is asked again.

This pull-requests adds "Adaptive Random" mode to the Koch Echo Trainer.

The "Adaptive Random" mode modifies the random selection of characters with feedback from the keyed responses. A wrong character will increase its probability to be selected. A correctly keyed character will reduce its probability.

To start the adaptive mode start: Koch Trainer > Echo Trainer > Adapt. Rand.

Remarks:

Please let me know if there are some coding guidelines or best practices that i should apply to the code before accepting the pull request. I will be happy to improve the code.

I would also be happy to get some feedback on this feature, fix bugs if found or improve its behavior.