INDEPENDENT RESEARCH ARCHIVEPreserve the source. Keep the context.
A Dream Within a Dream · project draft
← Signals & codes

A code study edition

English ↔ Baudot code

A Dream Within a Dream · five holes on a paper tape

Edition: complete · every letter as an ITA2 five-bit code · AI-assisted project draft, not yet independently reviewed

Before email and fax, typed messages crossed continents as five-bit codes punched across paper tape. The Baudot code, in the form standardised as International Telegraph Alphabet No. 2 (ITA2), gives every letter five marks, each one either a hole (1) or no hole (0). Here the whole poem is set in ITA2, and the panel turns anything you type into five-bit codes.

Punch it out

10010 01010 10000 11000 00111

Each group of five is one letter: 1 is a punched hole, 0 is no hole. A teleprinter sends the space between words as its own code, 00100.

486letters, five bits each
86different words to practise
983holes punched for the letters
32codes possible with five bits

Part one / The poem

The poem, line by line

Every letter of Poe’s poem as its ITA2 code. Spaces separate letters and a slash marks each word space, which a teleprinter sends as 00100. Punctuation is dropped here; on a real machine it needs a shift to the figures case. Select a line number for its study note.

LineEnglish · sourceITA2 · five bits a letter
Take this kiss upon the brow! 00001 11000 11110 10000 / 00001 00101 01100 10100 / 11110 01100 10100 10100 / 11100 01101 00011 00110 / 00001 00101 10000 / 10011 01010 00011 11001
And, in parting from you now, 11000 00110 10010 / 01100 00110 / 01101 11000 01010 00001 01100 00110 01011 / 10110 01010 00011 00111 / 10101 00011 11100 / 00110 00011 11001
Thus much let me avow — 00001 00101 11100 10100 / 00111 11100 01110 00101 / 01001 10000 00001 / 00111 10000 / 11000 01111 00011 11001
You are not wrong, who deem 10101 00011 11100 / 11000 01010 10000 / 00110 00011 00001 / 11001 01010 00011 00110 01011 / 11001 00101 00011 / 10010 10000 10000 00111
That my days have been a dream; 00001 00101 11000 00001 / 00111 10101 / 10010 11000 10101 10100 / 00101 11000 01111 10000 / 10011 10000 10000 00110 / 11000 / 10010 01010 10000 11000 00111
Yet if hope has flown away 10101 10000 00001 / 01100 10110 / 00101 00011 01101 10000 / 00101 11000 10100 / 10110 01001 00011 11001 00110 / 11000 11001 11000 10101
In a night, or in a day, 01100 00110 / 11000 / 00110 01100 01011 00101 00001 / 00011 01010 / 01100 00110 / 11000 / 10010 11000 10101
In a vision, or in none, 01100 00110 / 11000 / 01111 01100 10100 01100 00011 00110 / 00011 01010 / 01100 00110 / 00110 00011 00110 10000
Is it therefore the less gone? 01100 10100 / 01100 00001 / 00001 00101 10000 01010 10000 10110 00011 01010 10000 / 00001 00101 10000 / 01001 10000 10100 10100 / 01011 00011 00110 10000
All that we see or seem 11000 01001 01001 / 00001 00101 11000 00001 / 11001 10000 / 10100 10000 10000 / 00011 01010 / 10100 10000 10000 00111
Is but a dream within a dream. 01100 10100 / 10011 11100 00001 / 11000 / 10010 01010 10000 11000 00111 / 11001 01100 00001 00101 01100 00110 / 11000 / 10010 01010 10000 11000 00111
I stand amid the roar 01100 / 10100 00001 11000 00110 10010 / 11000 00111 01100 10010 / 00001 00101 10000 / 01010 00011 11000 01010
Of a surf-tormented shore, 00011 10110 / 11000 / 10100 11100 01010 10110 / 00001 00011 01010 00111 10000 00110 00001 10000 10010 / 10100 00101 00011 01010 10000
And I hold within my hand 11000 00110 10010 / 01100 / 00101 00011 01001 10010 / 11001 01100 00001 00101 01100 00110 / 00111 10101 / 00101 11000 00110 10010
Grains of the golden sand — 01011 01010 11000 01100 00110 10100 / 00011 10110 / 00001 00101 10000 / 01011 00011 01001 10010 10000 00110 / 10100 11000 00110 10010
How few! yet how they creep 00101 00011 11001 / 10110 10000 11001 / 10101 10000 00001 / 00101 00011 11001 / 00001 00101 10000 10101 / 01110 01010 10000 10000 01101
Through my fingers to the deep, 00001 00101 01010 00011 11100 01011 00101 / 00111 10101 / 10110 01100 00110 01011 10000 01010 10100 / 00001 00011 / 00001 00101 10000 / 10010 10000 10000 01101
While I weep — while I weep! 11001 00101 01100 01001 10000 / 01100 / 11001 10000 10000 01101 / 11001 00101 01100 01001 10000 / 01100 / 11001 10000 10000 01101
O God! Can I not grasp 00011 / 01011 00011 10010 / 01110 11000 00110 / 01100 / 00110 00011 00001 / 01011 01010 11000 10100 01101
Them with a tighter clasp? 00001 00101 10000 00111 / 11001 01100 00001 00101 / 11000 / 00001 01100 01011 00101 00001 10000 01010 / 01110 01001 11000 10100 01101
O God! can I not save 00011 / 01011 00011 10010 / 01110 11000 00110 / 01100 / 00110 00011 00001 / 10100 11000 01111 10000
One from the pitiless wave? 00011 00110 10000 / 10110 01010 00011 00111 / 00001 00101 10000 / 01101 01100 00001 01100 01001 10000 10100 10100 / 11001 11000 01111 10000
Is all that we see or seem 01100 10100 / 11000 01001 01001 / 00001 00101 11000 00001 / 11001 10000 / 10100 10000 10000 / 00011 01010 / 10100 10000 10000 00111
But a dream within a dream? 10011 11100 00001 / 11000 / 10010 01010 10000 11000 00111 / 11001 01100 00001 00101 01100 00110 / 11000 / 10010 01010 10000 11000 00111

Part two / How it works

Five holes, thirty-two codes

Five holes give 2 × 2 × 2 × 2 × 2 = 32 possible codes. ITA2 uses 26 for letters and the rest for space, carriage return, line feed and two shift codes.

LetterCodeLetterCodeLetterCodeLetterCode
A11000I01100Q11101Y10101
B10011J11010R01010Z10001
C01110K11110S10100Space00100
D10010L01001T00001CR01000
E10000M00111U11100LF00010
F10110N00110V01111FIGS11011
G01011O00011W11001LTRS11111
H00101P01101X10111

1 · Five marks a letter

Every character is exactly five marks, read in a fixed order. There are no short and long letters as in Morse.

d → 10010

2 · Two cases

Thirty-two codes cannot cover letters and figures, so two codes switch case. After FIGS (11011) the same codes mean digits and punctuation; LTRS (11111) switches back.

FIGS 11011 · LTRS 11111

3 · Machine housekeeping

Some codes print nothing. They return the carriage, feed the paper and mark word spaces.

CR 01000 · LF 00010 · space 00100

4 · Built for the keyboard

Murray placed the commonest letters on codes with few holes to save wear on the punches: E is a single hole.

e → 10000

Practice

Read the tape

A word from the poem is shown as five-bit codes. Pick the English word.

0 of 0 correct

Practice with every word

Every word of the poem

All 86 different words of the poem, in the order they first appear. Decode each group with the table, then reveal the English.

Baudot code → English

How to practise

  1. Read each group of five as one letter.
  2. Find it in the code table above.
  3. Reveal, then find the word in the poem.
  4. Write your own name as five-bit groups.
See the full word list (86 words)
take00001 11000 11110 10000line 1 · 1×
this00001 00101 01100 10100line 1 · 1×
kiss11110 01100 10100 10100line 1 · 1×
upon11100 01101 00011 00110line 1 · 1×
the00001 00101 10000line 1 · 6×
brow10011 01010 00011 11001line 1 · 1×
and11000 00110 10010line 2 · 2×
in01100 00110line 2 · 5×
parting01101 11000 01010 00001 01100 00110 01011line 2 · 1×
from10110 01010 00011 00111line 2 · 2×
you10101 00011 11100line 2 · 2×
now00110 00011 11001line 2 · 1×
thus00001 00101 11100 10100line 3 · 1×
much00111 11100 01110 00101line 3 · 1×
let01001 10000 00001line 3 · 1×
me00111 10000line 3 · 1×
avow11000 01111 00011 11001line 3 · 1×
are11000 01010 10000line 4 · 1×
not00110 00011 00001line 4 · 3×
wrong11001 01010 00011 00110 01011line 4 · 1×
who11001 00101 00011line 4 · 1×
deem10010 10000 10000 00111line 4 · 1×
that00001 00101 11000 00001line 5 · 3×
my00111 10101line 5 · 3×
days10010 11000 10101 10100line 5 · 1×
have00101 11000 01111 10000line 5 · 1×
been10011 10000 10000 00110line 5 · 1×
a11000line 5 · 10×
dream10010 01010 10000 11000 00111line 5 · 5×
yet10101 10000 00001line 6 · 2×
if01100 10110line 6 · 1×
hope00101 00011 01101 10000line 6 · 1×
has00101 11000 10100line 6 · 1×
flown10110 01001 00011 11001 00110line 6 · 1×
away11000 11001 11000 10101line 6 · 1×
night00110 01100 01011 00101 00001line 7 · 1×
or00011 01010line 7 · 4×
day10010 11000 10101line 7 · 1×
vision01111 01100 10100 01100 00011 00110line 8 · 1×
none00110 00011 00110 10000line 8 · 1×
is01100 10100line 9 · 3×
it01100 00001line 9 · 1×
therefore00001 00101 10000 01010 10000 10110 00011 01010 10000line 9 · 1×
less01001 10000 10100 10100line 9 · 1×
gone01011 00011 00110 10000line 9 · 1×
all11000 01001 01001line 10 · 2×
we11001 10000line 10 · 2×
see10100 10000 10000line 10 · 2×
seem10100 10000 10000 00111line 10 · 2×
but10011 11100 00001line 11 · 2×
within11001 01100 00001 00101 01100 00110line 11 · 3×
i01100line 12 · 6×
stand10100 00001 11000 00110 10010line 12 · 1×
amid11000 00111 01100 10010line 12 · 1×
roar01010 00011 11000 01010line 12 · 1×
of00011 10110line 13 · 2×
surf10100 11100 01010 10110line 13 · 1×
tormented00001 00011 01010 00111 10000 00110 00001 10000 10010line 13 · 1×
shore10100 00101 00011 01010 10000line 13 · 1×
hold00101 00011 01001 10010line 14 · 1×
hand00101 11000 00110 10010line 14 · 1×
grains01011 01010 11000 01100 00110 10100line 15 · 1×
golden01011 00011 01001 10010 10000 00110line 15 · 1×
sand10100 11000 00110 10010line 15 · 1×
how00101 00011 11001line 16 · 2×
few10110 10000 11001line 16 · 1×
they00001 00101 10000 10101line 16 · 1×
creep01110 01010 10000 10000 01101line 16 · 1×
through00001 00101 01010 00011 11100 01011 00101line 17 · 1×
fingers10110 01100 00110 01011 10000 01010 10100line 17 · 1×
to00001 00011line 17 · 1×
deep10010 10000 10000 01101line 17 · 1×
while11001 00101 01100 01001 10000line 18 · 2×
weep11001 10000 10000 01101line 18 · 2×
o00011line 19 · 2×
god01011 00011 10010line 19 · 2×
can01110 11000 00110line 19 · 2×
grasp01011 01010 11000 10100 01101line 19 · 1×
them00001 00101 10000 00111line 20 · 1×
with11001 01100 00001 00101line 20 · 1×
tighter00001 01100 01011 00101 00001 10000 01010line 20 · 1×
clasp01110 01001 11000 10100 01101line 20 · 1×
save10100 11000 01111 10000line 21 · 1×
one00011 00110 10000line 22 · 1×
pitiless01101 01100 00001 01100 01001 10000 10100 10100line 22 · 1×
wave11001 11000 01111 10000line 22 · 1×

Background

From the telegraph to the teleprinter

Baudot

The French telegraph engineer Émile Baudot patented a five-unit printing telegraph in 1874. The unit of signalling speed, the baud, is named after him.

Murray

Donald Murray reworked the code around 1901 for a typewriter-style keyboard and punched paper tape. Most later teleprinter codes descend from his version.

ITA2 and Telex

The international telegraph authorities adopted Murray’s layout as International Telegraph Alphabet No. 2. Telex networks used it for much of the twentieth century.

Sources

Pages consulted

  • Baudot code, Wikipedia
  • ITU-T Recommendation S.1, International Telegraph Alphabet No. 2
  • Émile Baudot, Wikipedia
  • Donald Murray (inventor), Wikipedia

Keep exploring

Related editions

Other editions of “A Dream Within a Dream” close to Baudot code, chosen from the project’s 137 editions.

Signals sent at a distance

More signals and codes