User Rating 0.0 โ˜…โ˜…โ˜…โ˜…โ˜…
Total Usage 0 times
Characters (1โ€“200)
Chars per group
Words per minute (3โ€“60)
Tone pitch (200โ€“1200)
Character Set
Is this tool helpful?

Your feedback helps us improve.

โ˜… โ˜… โ˜… โ˜… โ˜…

About

Morse code proficiency degrades without regular exposure to unfamiliar sequences. Practicing only memorized phrases creates recognition bias rather than genuine decoding skill. This generator produces cryptographically random character sequences encoded in International Morse Code per ITU-R M.1677 standard, with configurable character pools (letters, digits, punctuation, prosigns) and transmission parameters. The audio output uses a pure sine wave oscillator at user-defined frequency f (default 600 Hz) with timing derived from WPM using the PARIS standard: one word-unit equals 50 dot-lengths, so dot duration t = 1200WPM ms.

Note: the generator approximates ideal transmission conditions with instantaneous rise/fall times smoothed by a 5 ms ramp to prevent key clicks. Real-world CW signals exhibit fading, QRM, and operator timing variance not modeled here. For Farnsworth spacing practice, increase word gap independently. Pro tip: start at 15 - 20 WPM character speed with extended spacing to build reflex recognition rather than slow counting.

morse code generator random morse morse practice morse audio CW generator morse code trainer

Formulas

Morse timing follows ITU-R M.1677 ratios. The fundamental time unit is the dot duration, derived from the PARIS word standard where one standard word equals 50 dot-length units.

tdot = 1200WPM ms

All other timing elements are integer multiples of tdot:

tdash = 3 ร— tdot
tintra = 1 ร— tdot (gap between elements within a character)
tchar = 3 ร— tdot (gap between characters)
tword = 7 ร— tdot (gap between words)

The audio tone frequency f is independent of speed. Standard CW practice uses 400 - 800 Hz. The oscillator applies a 5 ms raised-cosine ramp on attack and release to suppress spectral splatter (key clicks). Total sequence duration T depends on the random character distribution and is computed as the sum of all element and gap durations.

Where: WPM = words per minute (PARIS standard), tdot = duration of one dot element, f = oscillator frequency in Hz.

Reference Data

CharacterMorse CodeDot/Dash UnitsCategory
Aยท -5Letter
B- ยท ยท ยท9Letter
C- ยท - ยท11Letter
D- ยท ยท7Letter
Eยท1Letter
Fยท ยท - ยท9Letter
G- - ยท9Letter
Hยท ยท ยท ยท7Letter
Iยท ยท3Letter
Jยท - - -13Letter
K- ยท -9Letter
Lยท - ยท ยท9Letter
M- -7Letter
N- ยท5Letter
O- - -11Letter
Pยท - - ยท11Letter
Q- - ยท -13Letter
Rยท - ยท7Letter
Sยท ยท ยท5Letter
T - 3Letter
Uยท ยท -7Letter
Vยท ยท ยท -9Letter
Wยท - -9Letter
X- ยท ยท -11Letter
Y- ยท - -13Letter
Z- - ยท ยท11Letter
0- - - - -19Digit
1ยท - - - -17Digit
2ยท ยท - - -15Digit
3ยท ยท ยท - -13Digit
4ยท ยท ยท ยท -11Digit
5ยท ยท ยท ยท ยท9Digit
6- ยท ยท ยท ยท11Digit
7- - ยท ยท ยท13Digit
8- - - ยท ยท15Digit
9- - - - ยท17Digit
.ยท - ยท - ยท -17Punctuation
,- - ยท ยท - -19Punctuation
?ยท ยท - - ยท ยท15Punctuation
/- ยท ยท - ยท11Punctuation
=- ยท ยท ยท -11Prosign (BT)

Frequently Asked Questions

The PARIS standard defines one word as 50 dot-length units, matching the timing of the word "PARIS" in Morse. CODEX uses 60 units. PARIS is the ITU and ARRL accepted standard for amateur radio and military CW proficiency testing. Using CODEX would yield approximately 17% slower apparent speed at the same WPM number, creating inconsistency with most training literature.
Research from the ARRL and military CW training programs indicates 550-650 Hz produces optimal copy accuracy for most operators. Frequencies below 400 Hz cause fatigue due to proximity to ambient noise spectra. Frequencies above 800 Hz increase perceived urgency and error rates during extended sessions. The default of 600 Hz sits at the peak sensitivity of human auditory processing for tonal discrimination.
Punctuation characters in Morse contain 5-6 elements versus 1-4 for letters, increasing decode time per character by 40-80%. Prosigns like BT (=) use run-together characters that break standard spacing rules. Adding these to the random pool raises the cognitive load significantly. It is recommended to achieve 90% copy accuracy on letters-only at target WPM before introducing mixed character sets.
Yes. The timing ratios and character encoding match ITU-R M.1677 exactly. For FCC Technician through Extra class exams that previously required code tests (retired in 2007), the standard was 5 WPM. Many countries still require 5-12 WPM proficiency. Set the generator to letters and digits only at 5 WPM with groups of 5 characters to replicate historical exam format.
Instantaneous on/off keying of a sine wave produces a rectangular envelope whose Fourier transform contains infinite harmonics - audible as sharp clicks. The 5 ms raised-cosine ramp applied by this generator limits the spectral bandwidth, matching the behavior of properly shaped CW transmitters. This is critical for realistic practice because real signals always have finite rise times, typically 3-8 ms per FCC Part 97 spectral purity requirements.