Dev.to
7/10/2026

I built a Morse code translator that renders WAV audio entirely in the browser
Short summary
A developer built a fully client-side Morse code translator that generates WAV audio entirely in the browser using the Web Audio API and OfflineAudioContext. The tool supports adjustable WPM speed, tone frequency, and Farnsworth spacing, with no server or signup required. The key engineering insight was unifying the schedule generation into one function shared by both realtime playback and offline WAV export to eliminate timing discrepancies.
- •Browser-only Morse code translator with WAV export, no server round-trip
- •Uses Web Audio API for playback and OfflineAudioContext for WAV rendering
- •Unified schedule builder ensures realtime and offline audio match sample-for-sample
Generated with AI, which can make mistakes.
Is this a good recommendation for you?



