Radioteletype sends text as two alternating audio tones, one for mark and one for space. The decoder follows those tones in a recording or from the microphone and prints the characters; the encoder writes the same signal from typed text.
Decode a recording
Open a file or choose Listen with the microphone and hold it near the receiver’s speaker. Leave the signal settings on Auto for a first pass. Detection needs about four seconds of signal that carries text, then decodes that audio from its start, so nothing ahead of the lock is lost. A steady idle tone alone gives it nothing to measure, and it waits for traffic.
After changing a setting, Decode again reruns the same file.
What auto-detect measures
The two tones show up as two peaks in the averaged spectrum. Their distance is the shift and their midpoint is the centre frequency. A measured shift within 12% of 170, 425 or 850 Hz is taken as that standard value.
Baud rate and polarity come from framing. Every candidate is decoded, and the winner is the one whose stop bits land on the mark tone and whose bits are read with the two tones furthest apart. A rate that is too fast, or a reversed signal, puts stop bits on the space tone. A rate that is too slow still frames but reads the later bits of each character across their edges.
The detected values appear under the text as mark, space, shift, centre, baud and polarity.
Baud rate, shift and polarity
- Baud rate. 45.45 baud is the amateur standard, about 60 words per minute. 50 baud is used by weather and press broadcasts, 75 and 100 by some commercial and military links.
- Shift. 170 Hz for amateur traffic, 425 Hz and 850 Hz for the older and wider commercial signals.
- Centre frequency. The midpoint between the tones. Setting it by hand picks one signal out of a recording that holds several. A manual centre uses the shift selected above it, or 170 Hz when the shift is on Auto.
- Polarity. Normal puts mark on the lower audio tone, as with 2125 and 2295 Hz AFSK received on lower sideband. The same transmission tuned on upper sideband arrives reversed.
Baudot, LTRS and FIGS
Each character is a start bit, five data bits and a stop bit of one and a half bit lengths. Five bits give 32 codes, so the code has two cases: letters and figures. LTRS and FIGS switch between them, and the receiver stays in a case until told otherwise. One missed shift turns the following text into the wrong case, which is the usual cause of a line of digits where words should be.
Unshift on space makes the decoder return to letters after every space. Squelch holds back characters when neither tone stands clear of the other, which is what keeps band noise from printing as random letters between transmissions.
Text to RTTY audio
Type the message, pick the baud rate, shift and centre frequency, and download the WAV. Text is upper-cased and anything outside the Baudot set is left out; the box under the scope shows exactly what is sent. A line break goes out as carriage return and line feed.
The tones change frequency without a jump in phase, which keeps the signal narrow. Lead and tail hold the mark tone before and after the text. Diddle fills that idle time with LTRS characters, which gives a receiving decoder edges to stay synchronised on. With Unshift on space on, the shift is sent again after a space, so receivers with and without that option print the same text.
Limits
Baudot carries no checksum, so a character damaged by noise or fading prints as another character and nothing flags it. Weak, fading or interfered shortwave recordings print errors. Stop lengths of one bit and more are read; codes other than five-bit Baudot (ASCII RTTY, SITOR, NAVTEX) are not. Transmitting the generated audio on amateur bands needs a licence and your own callsign in the text.