"Morse Code: MIDI & Text Generator" converts text to Morse code ("encode"), or Morse code to text ("decode"). Input the text or Morse code into textarea called "Input". Sound output is optional (please use "Sound Control"); you can save the file as MIDI file. The text output is always in lower case.

Development and history

Morse code is a type of character encoding that transmits telegraphic information using rhythm. Beginning in 1836, Samuel Finley Breese Morse and Alfred Vail developed an electric telegraph, which sent pulses of electrical current to control an electromagnet that was located at the receiving end of the telegraph wire.

Note

If the duration of a short mark (dit) is taken to be one unit then that of a longer mark (dah) is three units.

The intra-character gap between two marks is one unit, the gap between letters is three units long and between words seven units long.

In the text, every letter is separated with one slash; a word with two slashes; the end of the message with four slashes. A full stop (period) is the punctuation mark commonly placed at the end of sentences (three slashes are not needed).