Morse Code to Timing Converter
Convert text or Morse code into precise signal timings with configurable time units. Visualize, play audio, and export dot-dash timing arrays.
About
Morse code timing governs how receivers distinguish dots from dashes. A miscalibrated time unit causes decoding failures. The ITU-R M.1677 standard defines a dot as 1 time unit, a dash as 3 units, intra-character silence as 1 unit, inter-letter silence as 3 units, and inter-word silence as 7 units. This tool converts plaintext or raw Morse notation into an exact timing array calibrated to your chosen base unit T in milliseconds. It generates flat timing sequences compatible with hardware controllers, LED drivers, and audio oscillators.
The converter handles the full ITU Morse alphabet including numerals and punctuation. Timing output follows the on-off-on-off pattern used by serial protocols. Note: Farnsworth spacing (separate character vs. word timing) is not implemented. The tool assumes standard spacing ratios throughout.
Formulas
The timing array is constructed by mapping each Morse element to an on/off duration pair scaled by the base time unit T.
The total signal duration for a message is:
Where T = base time unit in ms, tdot = dot on-duration, tdash = dash on-duration, tintra = intra-character off-gap, tletter = inter-letter off-gap, tword = inter-word off-gap, D = total message duration, n = number of timing segments.
At 20 WPM (words per minute), the standard word โPARISโ occupies 50 time units, yielding T = 6000020 ร 50 = 60 ms.
Reference Data
| Character | Morse Pattern | Timing (units) | Total Units |
|---|---|---|---|
| A | ยท - | 1,1,3 | 5 |
| B | - ยท ยท ยท | 3,1,1,1,1,1,1 | 9 |
| C | - ยท - ยท | 3,1,1,1,3,1,1 | 11 |
| D | - ยท ยท | 3,1,1,1,1 | 7 |
| E | ยท | 1 | 1 |
| F | ยท ยท - ยท | 1,1,1,1,3,1,1 | 9 |
| G | - - ยท | 3,1,3,1,1 | 9 |
| H | ยท ยท ยท ยท | 1,1,1,1,1,1,1 | 7 |
| I | ยท ยท | 1,1,1 | 3 |
| J | ยท - - - | 1,1,3,1,3,1,3 | 13 |
| K | - ยท - | 3,1,1,1,3 | 9 |
| L | ยท - ยท ยท | 1,1,3,1,1,1,1 | 9 |
| M | - - | 3,1,3 | 7 |
| N | - ยท | 3,1,1 | 5 |
| O | - - - | 3,1,3,1,3 | 13 |
| P | ยท - - ยท | 1,1,3,1,3,1,1 | 11 |
| Q | - - ยท - | 3,1,3,1,1,1,3 | 13 |
| R | ยท - ยท | 1,1,3,1,1 | 7 |
| S | ยท ยท ยท | 1,1,1,1,1 | 5 |
| T | - | 3 | 3 |
| U | ยท ยท - | 1,1,1,1,3 | 7 |
| V | ยท ยท ยท - | 1,1,1,1,1,1,3 | 9 |
| W | ยท - - | 1,1,3,1,3 | 9 |
| X | - ยท ยท - | 3,1,1,1,1,1,3 | 11 |
| Y | - ยท - - | 3,1,1,1,3,1,3 | 13 |
| Z | - - ยท ยท | 3,1,3,1,1,1,1 | 11 |
| 0 | - - - - - | 3,1,3,1,3,1,3,1,3 | 19 |
| 1 | ยท - - - - | 1,1,3,1,3,1,3,1,3 | 17 |
| 2 | ยท ยท - - - | 1,1,1,1,3,1,3,1,3 | 15 |
| 3 | ยท ยท ยท - - | 1,1,1,1,1,1,3,1,3 | 13 |
| 4 | ยท ยท ยท ยท - | 1,1,1,1,1,1,1,1,3 | 11 |
| 5 | ยท ยท ยท ยท ยท | 1,1,1,1,1,1,1,1,1 | 9 |
| 6 | - ยท ยท ยท ยท | 3,1,1,1,1,1,1,1,1 | 11 |
| 7 | - - ยท ยท ยท | 3,1,3,1,1,1,1,1,1 | 13 |
| 8 | - - - ยท ยท | 3,1,3,1,3,1,1,1,1 | 15 |
| 9 | - - - - ยท | 3,1,3,1,3,1,3,1,1 | 17 |