Add morse code translator at /morse#161
Open
ianalloway wants to merge 1 commit into
Open
Conversation
Full ITU table with digits and punctuation; encode/decode with direction auto-detected (input of only dots/dashes/slashes is treated as morse). Playback builds a timing schedule in dit units (dit 1, dah 3, letter gap 3, word gap 7) and drives a single oscillator's gain envelope through Web Audio with 4ms attack/release ramps to avoid clicks; dit length follows the PARIS standard (1.2s / wpm). WPM and tone-frequency sliders, play/stop, copy. Engine verified with a scripted test pass (round-trip, schedule offsets, PARIS timing). Co-Authored-By: Claude Fable 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01WgEKRuVdor8KhaiPkv38aQ
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
✅ Deploy Preview for ianalloway ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
ianalloway
marked this pull request as ready for review
July 19, 2026 04:32
|
Bugbot is not enabled for your account, so this pull request was not reviewed. Enable Bugbot in the Cursor dashboard to get automatic reviews on future PRs. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
/morse— a two-way morse translator with authentic Web Audio playbacksrc/features/morse/morse.ts: full ITU table (letters, digits, punctuation), encode/decode, morse auto-detection, a dit-unit timing scheduler, and aMorsePlayerdriving an oscillator gain envelopesrc/pages/Morse.tsx: two-panel translator with direction auto-detect, WPM (5–35) and tone (400–1000 Hz) sliders, play/stop, copysrc/App.tsx: lazy-loaded/morseroute with SEO metadataHow it works
./-//auto-switches to decoding (badge in the header shows the active direction)Test plan
/morse— "hello world" pre-encoded in the output panel... --- ...— auto-detects and decodes to "sos"Generated by Claude Code