Morsecode-Potato

· 1 min read

Morsecode-Potato is an experiment in packaging functionality into reusable React hooks. It translates text to Morse code and plays it back as sound, light, or both.

Role

Sole author. I built the hooks and the demo app:

  • useMorse — translates text to international Morse code (ITU-R M.1677-1) and returns a Morse string.
  • useMorsePlayer — plays a Morse string as audio, as a silent visual signal, or both in sync. One clock drives everything, so sound and light can’t drift.
  • Demo page — a Tailwind-styled React app themed after an old-time telegraph station, with an input text area, playback controls, and an abbreviation reference table.
Morsecode-Potato demo page in light theme
Demo page in light theme
Morsecode-Potato demo page in dark theme
Demo page in dark theme

Links

By @codespud

DISCLAIMER This is my personal weblog and learning tool. The content within it is exactly that – personal. The views and opinions expressed on the posts and the comments I make on this Blog represent my own and not those of people, institutions or organisations I am affiliated with unless stated explicitly. My Blog is not affiliated with, neither does it represent the views, position or attitudes of my employer, their clients, or any of their affiliated companies.

© 2006 - 2026, Copyright - codespud.com · RSS