mirror of
https://github.com/imjasonh/morse
synced 2026-07-07 00:12:32 +00:00
No description
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 |
||
|---|---|---|
| .github/workflows | ||
| vendor | ||
| app.js | ||
| index.html | ||
| morse.js | ||
| README.md | ||
| style.css | ||
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 |