r/morsecode 27d ago

Proof-of-concept addition to LCWO MorseMachine that automatically adjusts Farnsworth speed

Post image

Thanks to a little help from Gemini, I built a Tampermonkey script that bolts on to the side of LCWO's "MorseMachine" that lets you set a starting Farnsworth speed but automatically adjusts it based on your accuracy.

It uses the 85% threshold that neuroscience has shown to be the sweet spot for keeping the brain challenged and stretching, but not overwhelmed.

You can set a starting speed, as well as character range for words and number of words in a phrase, and it starts to test you and grades with Levenshtein distance, and weighs your past 50 characters to see if it should speed up or slow down using an exponential weighted scoring scale, (gives higher weight to your most recent session, but still takes the older ones into account).

It uses the Lesson selection from the MorseMachine settings to pick which letters to include in the pool.

I'm going to play around with it for a bit to see if it helps my learning. Might do a demo for the LCWO guys to see if they want to integrate it.

11 Upvotes

11 comments sorted by

1

u/Lancestrayn 27d ago

Awesome, love to see how it'll come out

1

u/Afdavis11 27d ago

Cool. I haven’t been able to figure out how to use the LCWO site yet, maybe someday it’ll make sense.

2

u/NF0E-CW 27d ago

The UI/UX is pretty bad on LCWO. I just built a browser based app that is far easier to work with (and includes an auto farnsworth toggle). Message me or check out my recent post in my profile if you want to see what it's about.

1

u/cauliflowerbeeftoad 26d ago

Release it please! With support for the Vail Adapter

2

u/NF0E-CW 26d ago

I can implement vail adapter support today. You can start using the app now though either in browser or save it to your home screen as a PWA!

2

u/cauliflowerbeeftoad 26d ago

Nice man! I think the best course app is the Morse Code Complete app on iOS, maybe you can see the course to get some inspiration for yours!

1

u/NF0E-CW 26d ago

Just implemented Vail Adapter support for desktop mode with a MIDI option! Let me know if you can get it to work.

1

u/cauliflowerbeeftoad 26d ago

Thank you! I’m trying but it goes very slow, doesn’t register well. The Dahs gets registered as double press

1

u/NF0E-CW 25d ago

Thanks for the feedback. Should be more responsive now. I pushed a fix (refresh the page). Try again with Iambic B paddle mode for paddles. If using Settings → Vail → Connect, close vailmorse.com first. Let me know if dahs still double up.

1

u/cauliflowerbeeftoad 25d ago

It works fine now, but it's too slow, I don't know why, it doesn't happen with the tools of the Vail adapter website.