1
0
Fork 0
mirror of https://github.com/imjasonh/morse synced 2026-07-07 00:12:32 +00:00
No description
Find a file
Claude 2451fe1a9f
Add audio tone feedback to tap input on decode tab
Play a continuous 600Hz sine tone while the tap button is held
down, matching the tone used in encode playback. The tone starts
on press and stops on release for immediate auditory feedback.

https://claude.ai/code/session_0157gDa3ajjx6mnMmyf5PGHP
2026-03-03 12:34:16 +00:00
.github/workflows Deploy to GitHub Pages on pushes to feature branch too 2026-03-03 12:10:55 +00:00
vendor Vendor web-haptics locally instead of loading from CDN 2026-03-03 12:22:46 +00:00
app.js Add audio tone feedback to tap input on decode tab 2026-03-03 12:34:16 +00:00
index.html Use web-haptics polyfill for cross-platform haptic feedback 2026-03-03 12:18:34 +00:00
morse.js Add Morse Code Haptics web app 2026-03-03 12:05:18 +00:00
README.md Add Morse Code Haptics web app 2026-03-03 12:05:18 +00:00
style.css Use web-haptics polyfill for cross-platform haptic feedback 2026-03-03 12:18:34 +00:00

Morse Code Haptics

A web app that converts text to Morse code and plays it back as sound and haptic vibrations. You can also tap in Morse code to decode it back to text.

Features

  • Text to Morse — Type any message and see it rendered in Morse code. Hit Play to hear it as audio tones and feel it as haptic vibrations on supported devices.
  • Tap to Decode — Tap or hold a button (or press the space bar) to input dots and dashes. The app automatically detects letter and word boundaries and decodes your input in real time.
  • Reference Chart — Browse all letters, numbers, and symbols with their Morse code equivalents. Tap any card to hear/feel it.
  • Adjustable Speed — Control playback speed from 1 to 10 WPM.
  • Visual Feedback — A signal light and character highlight show exactly where you are during playback.

Usage

Open index.html in a browser. No build step or server required.

For haptic feedback, use a mobile device or any browser that supports the Vibration API.

Files

File Purpose
index.html App shell and markup
style.css Dark-themed responsive styles
morse.js Morse code encode/decode/timing logic
app.js UI interactions, audio, haptics, tap input