Morse code is a method used in telecommunication to encode text characters as standardized sequences of two different signal durations, called dots and dashes, or dits and dahs.
I create a simple Morse Code Converter that converts typed-text to Morse Code (vice-versa), both visually and in audio format.
The converter fields could accept either Text (English) or Morse Code and could convert them to one another. The both scenarios the audio played will be of the Morse Code.
Here in this project, Morse Code is represented visually using periods (.) and hyphens (-). The input fields aren't case sensitive. But while converting Morse Code back to text, it displays result as in Uppercase.
🌟 Buttons
CONVERT
- Convert Text to Morse CodeRESET
- Clear the input fieldsCOPY TO CLIPBOARD
- Copy the Morse Code result to clipboardPLAY AUDIO
- Replay the Audio result of Morse Code
🌟 Dev Stack
- Handlebars (HTML, CSS (Bootstrap))
- JavaScript
- Web Audio API
Top comments (0)