I remembered that Rádio , the station of the University of São Paulo (USP), broadcast computer programs in the 1980s. The magazines of the time say exactly that, and more: from 13 October 1985 its Sunday programme Clip Informática ended with a program for listeners to record, and by 1987 its producer was sending software and pictures down one channel of the stereo signal while the other carried the programme. The whole history, from Hobbyscoop in Hilversum in 1979 to Radio Študent's rebroadcast in Ljubljana in 2024, is in the Learn article Software over the airwaves. This post asks a narrower question: what happened to the signal on the way? A program left a studio as a sound and had to arrive in a living room as the same bits, after a mixing desk, a transmitter, some kilometres of air, a radio, a cheap cassette recorder and a home computer had each had their way with it. How a cassette turns a letter into tones, cycle by cycle, is in Holes, echoes, magnets, pits and trapped charge; here we follow the tones out of the house and back in.
Seven stages and what each one did to the signal
A broadcast program crossed seven stages:
- The format: how the computer turned bits into sound in the first place.
- The studio: the tape it was played from, the desk and the audio processors.
- The modulation: frequency modulation (FM) or amplitude modulation (AM), mono or stereo.
- The air: the band and the path the wave took.
- The receiver: the radio, and whether it was stereo.
- The recorder: the listener's cassette machine and its tape.
- The reader: the computer's loading routine, turning sound back into bytes.
Each broadcaster's records describe at least one of these stages going wrong. The sections below take them in order.
Stage 1: the format decides what a crackle costs
The first Dutch broadcasts, in 1979, played each manufacturer's own tape format, for the Apple II, the Exidy Sorcerer, the PET and the TRS-80 in turn. The originators of later wrote that with those formats "a short interruption or an extra pulse" mutilated the rest of the program, so that if anything went wrong "there was no program at all" (Het BASICODE-3 boek, 1986, chapter 2). Their answer, BASICODE, was built so that a disturbance cost a character, not a program.
Look at how three formats of the period carry the colon, 3A hexadecimal, binary 0011 1010:
- Sinclair ZX81, and the Brazilian TK-82C and TK 85. No start or stop bits; eight bits, most significant first; a 0 is four pulses and a 1 nine pulses, each pulse 300 microseconds (µs), each bit followed by 1,300 µs of silence (nocash, ZX81 cassette signals). The colon is four 0s of 2,500 µs and four 1s of 4,000 µs: 26 milliseconds. In this format the reader counts pulses between silences, so a noise spike that adds a pulse turns a 0 (four pulses) into five, which is neither, and a lost pulse turns a 1 (nine) into eight. Because every bit ends in silence, though, the reader knows where the next bit starts, so the damage stays local unless a spike lands in a silence and splits a bit in two.
- Sinclair ZX Spectrum, and the Brazilian TK90X. Each bit is two half-cycles: 855 T-states each for a 0, 1,710 for a 1, at 3.5 MHz, so 488.6 µs and 977.1 µs per bit (Spectrum read-only memory (ROM), SA-BYTES; nocash, Spectrum timings). The colon takes about 5.9 milliseconds. There are no start or stop bits and no silences: the reader measures edge after edge for the whole block, pairing them into bits, so in this format one missing or extra edge throws the pairing of every later edge out of step. The Spectrum's speed, about 1,365 bits a second on average, comes with exactly the fragility the Dutch complained of.
- BASICODE. Every bit lasts 1/1,200 of a second: a 0 is one cycle of 1,200 Hz, a 1 two cycles of 2,400 Hz; each byte is a start bit, eight data bits least significant first and two stop bits, with bit 7 of every character inverted (Het BASICODE-3 boek, appendix 3). The colon becomes BA, and on the air
0 01011101 11. Because bit 7 is almost always sent as a 1, every character ends in three consecutive 1s, and the book explains why: when "a hole falls in the signal", the reader must find a start bit again, and the long block of three stop bits lets it resynchronize quickly, so fewer characters are mangled. A checksum, the exclusive-or (XOR) of every byte from the start-of-text byte to the end-of-text byte, tells the listener whether anything was damaged.
The difference is design, not speed alone: nothing in the Spectrum format is there for a radio link, and every rule in BASICODE's appendix is.
Stage 2: the studio, the processor and the square wave
A computer's cassette output is a square wave, and a square wave is rich in harmonics. The BASICODE book warns that this "wealth of high frequencies" causes trouble: hi-fi recorders that boost the treble distort the waveforms BASICODE needs, and so do sharp filters, through phase distortion, which the signal "cannot stand"; the minimum band it needs is only 600 to 3,000 Hz (Het BASICODE-3 boek, appendix 3). Horst Völz, writing for East German listeners in 1990, makes the same point from the other side: of the 1,200 Hz square wave only the third harmonic matters, of the 2,400 Hz none, so what comes out of a receiver is "no longer digital", with different amplitudes and a clearly changed curve, and the reader has to restore the original highs and lows (Völz, Basicode, 1990).
Studios add their own treatment. When Radio Netherlands tried a program in the Beginner's All-purpose Symbolic Instruction Code () on shortwave in 1981, its producer Jonathan Marks said the Optimod, the audio processor that shapes a station's sound, had to be switched off for the few minutes of data; it sat in the basement, and during the broadcast they "literally bypassed the unit" (Reed, More about BASIC over shortwave). Radio DDR recorded its first broadcast programs from a KC 85/3 computer onto studio tape running at 38 centimetres a second, and had every transmitter station record the broadcast to check it (Völz, chapter 7.2). In São Paulo, Alexandre Fejes Neto described the same problem in his own words: the computer's waves are square, the voice's are sine waves, and sent through an ordinary channel the square waves "tend to round off" and arrive almost as sine waves; he built a demodulator to square them up again (Fejes Neto, MSX Micro no. 18, 1988).
Stage 3: FM stereo and the left channel
FM stereo, as the International Telecommunication Union (ITU) standardizes it in the pilot-tone system, does not transmit a left and a right channel side by side. It transmits a sum and a difference. With A the left-hand signal and B the right-hand one, the transmitter forms M = (A + B) ÷ 2, sent as an ordinary mono signal, and S = (A − B) ÷ 2, which modulates a suppressed sub- at 38 kHz; a pilot tone at exactly 19 kHz, half the sub-carrier frequency, tells stereo receivers to decode it. M is the "compatible" signal: a mono receiver hears only M (ITU-R BS.450-4, 2019).
Rádio USP used exactly that. In Fejes's account he began sending software on the left channel and music on the other, later sent two programs at once for the MSX and Apple lines, and on 16 August 1987 sent digitized images on one channel while listeners heard the news on the other (MSX Micro no. 18); for the Japanese community in 1988, one channel carried the announcer's Portuguese and the other the same text encoded and translated into Japanese (Superinteressante, Computador FM, 1988).
Worked example: what each kind of radio received. Put the data on the left, A = D, and the voice on the right, B = V.
- The transmitter sends M = (D + V) ÷ 2 and S = (D − V) ÷ 2.
- A stereo receiver recovers A = M + S = D and B = M − S = V. A cable from the left output carries only data to the computer; the right speaker carries only the voice.
- A mono receiver plays M = (D + V) ÷ 2: the voice at half its level with the data screech, also at half level, underneath it for as long as the data lasts.
The standard says nothing about Clip Informática, and the sources read do not say what mono listeners heard; the last line is what the standard's arithmetic implies. It also explains why the trick needed nothing new at the station: two inputs to a stereo desk, one from a computer and one from a microphone.
Radio DDR found a related problem in reverse. After four episodes of its 1987 programming course, with many listeners unable to load the programs, it changed its recording technique to "stereo, single channel", and the programs became much more loadable. Völz's book explains the danger on the listener's side: the two channels of a stereo recorder are not identical, and mixed to mono, two slightly different signals can spoil each other; listeners should use one channel, preferably the right, whose track does not lie on the edge of the tape (Völz, Basicode, 1990).
Stage 4: the air, and why shortwave failed
The bands behaved very differently, and the records agree on the ranking. FM, carried on very high frequency () mostly by line of sight, was the band of choice: Hobbyscoop used the Dutch FM network in 1979, the British Broadcasting Corporation (BBC) moved BASICODE from long wave to Radio 1 FM, Radio Belgrade's Ventilator 202 and Rádio USP were FM stations. The BASICODE book says that in practice medium and long wave in the evening and at night proved unusable for the fast BASICODE signals, and that shortwave cannot be used either (Het BASICODE-3 boek, chapter 2). Yet Hobbyscoop broadcast on 747 kHz medium wave for years, at 18:40 Greenwich Mean Time (GMT) on Sundays in 1984 according to BEEBUG (BEEBUG vol. 3 no. 2), and Marks said that "worked perfectly for many years" (Reed). Distance and time of day are the likely reconciliation: what changes on medium wave at night, when distant stations arrive by sky wave, is explained in Radio spectrum.
Shortwave is where the numbers are. Marks told Matthew Reed that the 1981 test gave about 47% success for the TRS-80 on the first hop and about 5% after it, and that nobody received anything through the relays at Bonaire and Madagascar, because the audio to those transmitters went split over two telephone lines and was recombined, and the phase shift made the data useless (Reed).
Worked example: from success rate to error rate. The length of the 1981 program is not recorded, so take two illustrative lengths and assume, as in the TRS-80's own format, that one wrong bit ruins the load. If each bit is wrong with independent probability p, an N-bit program survives with probability (1 − p)^N, so p = 1 − (success)^(1/N).
| Program | Bits (11 a character) | p for 47% success | p for 5% success |
|---|---|---|---|
| 1,000 characters | 11,000 | 1 − 0.47^(1/11,000) ≈ 6.9 × 10⁻⁵ | 1 − 0.05^(1/11,000) ≈ 2.7 × 10⁻⁴ |
| 4,000 characters | 44,000 | ≈ 1.7 × 10⁻⁵ | ≈ 6.8 × 10⁻⁵ |
A channel that gets about one bit in 15,000 wrong sounds excellent, and it still fails a 1,000-character program more than half the time. That is the arithmetic behind the Dutch decision to stop broadcasting all-or-nothing formats.
Stage 5 and 6: the radio and the recorder
The listener's own equipment was the last analogue stage, and the advice was counter-intuitive. The BASICODE book says a simple, straightforward mono recorder usually works best, that hi-fi recorders which work hard to restore the high frequencies distort the waveforms, and that experimenting with the tone controls often helps; the signal may arrive in either polarity, because recorders do not preserve it, so a good reader uses both edges (Het BASICODE-3 boek, appendix 3). Völz adds a full recording level, which lowers noise and flattens the signal towards square, and a head set exactly at 90 degrees to the tape (Völz, 1990). Fejes promised listeners a "100% guarantee" that his programs would run "if recorded under adequate conditions" (MSX Micro no. 18).
The bar could also be surprisingly low. Trevor Taylor, producer of the BBC's Tomorrow's World and later of The Chip Shop, said that after a test on television some viewers had loaded a usable program "just by putting a microphone near the speaker; even on the ZX81" (Popular Computing Weekly, 1 March 1984).
Stage 7: the computer reads the sound
The last stage turns sound back into bits. A BASICODE reader does not need to know frequencies at all: it measures the time between successive zero crossings. A 0 is one cycle of 1,200 Hz, so two half-periods of 1/2,400 of a second (417 µs); a 1 is two cycles of 2,400 Hz, so four half-periods of 1/4,800 (208 µs). Anything longer than a threshold in between, say 1/3,600 of a second (278 µs), is half of a 0; anything shorter is a quarter of a 1.
Worked example: decoding the colon by hand. After the leader, the reader measures these half-periods, in microseconds, grouped as it goes:
417 417 | 417 417 | 208 208 208 208 | 417 417 | 208 208 208 208 | 208 208 208 208 | 208 208 208 208 | 417 417 | 208 208 208 208 | 208 208 208 208 | 208 208 208 208
- Two long halves make a 0, four short halves a 1. The groups read 0 | 0, 1, 0, 1, 1, 1, 0, 1 | 1, 1.
- The first 0 after the leader's run of 1s is the start bit. The next eight groups are the data bits, least significant first: bit 0 = 0, bit 1 = 1, bit 2 = 0, bit 3 = 1, bit 4 = 1, bit 5 = 1, bit 6 = 0, bit 7 = 1.
- The last two groups are 1 and 1: the stop bits are where they should be, so the frame is valid.
- Written from bit 7 down, the byte is 1011 1010, BA hexadecimal. Bit 7 is set, as it must be for every character of a BASICODE program on tape.
- Invert bit 7: 0011 1010, 3A, the colon.
Now let a crackle change one bit, and see which of BASICODE's layers notices:
- Bit 7 or a stop bit is hit. A stop bit read as 0 breaks the frame at step 3; bit 7 read as 0 gives a byte below 80 hexadecimal, which a BASICODE program never contains on tape (step 4). The reader knows at once.
- Bit 5 is hit. BA becomes 9A, which still has bit 7 set; inverted, it is 1A, a control character outside the range 20 to 7E that BASICODE allows in a program. Caught again, by the character rule.
- Bit 0 is hit. BA becomes BB; inverted, 3B, a semicolon, a perfectly legal character. Nothing in the byte betrays it, and this is what the checksum is for: the exclusive-or of the whole block will differ from the checksum byte sent after the end-of-text byte, and the listener is told the copy is damaged. The program still loads, with a semicolon where a colon should be, which a listener of 1983 could find and fix by hand, as the BASICODE group intended.
A small encoder and decoder written to the BASICODE-3 book's specification reproduces these steps: it turns 1000 A=100:GOTO 20 into 22 bytes ending in the checksum EB, synthesizes 6.2 seconds of square wave at 44,100 samples a second, and reads it back with the checksum correct; with a few random sample flips added, the reader loses its place and the checksum comes out wrong, which is the protocol doing its job.
A worked broadcast: the last five minutes of Clip Informática
Geração Prológica wrote in February 1986 that Clip Informática ran thirty minutes on Sundays from 15:00 and that the software went out in the final minutes (the magazine Geração Prológica, no. 17 of February 1986). The magazine does not say how many minutes; take five, 300 seconds, as an illustration.
- For a TK 85, in ZX81 format at about 307 bits a second on average: 300 × 307 ÷ 8 ≈ 11,500 bytes, less than a full 16-kilobyte memory.
- For a TK90X, in Spectrum format at about 1,365 bits a second: 300 × 1,365 ÷ 8 ≈ 51,000 bytes, more than a 48K Spectrum can hold.
- For an MSX at 1,200 baud with 11 bits a byte, or in BASICODE: 300 × 1,200 ÷ 11 ≈ 32,700 bytes.
One programme of 1987 survives as sound, and its numbers can be checked the same way. In the recording of Clip Informática especial no. 102, kept by the archive Datassette and decoded for this post, the software runs from 25:01 to 28:33 of a 30-minute 31-second programme: 212 seconds holding three MSX machine-code files, AVG1, AVG2 and AVG3, with 20,057 bytes in all counting their headers, in the MSX format of 11 bits a byte (ASCII, MSX2 Technical Handbook, chapter 5; Datassette).
- The bytes: 20,057 × 11 = 220,627 bits. The tape ran about 2% fast, at about 1,224 baud instead of 1,200, so they take 220,627 ÷ 1,224 ≈ 180 seconds.
- The headers: three long ones, measured at about 5.1, 6.3 and 6.3 seconds (the handbook gives 6.7), and three short ones of about 1.6 seconds: about 22 seconds.
- The gaps: about 1.1 seconds between each file header and its body and about 3.5 seconds between files: about 10 seconds.
- The sum, 180 + 22 + 10 = 212 seconds, matches the measured length of the data segment, 212 seconds, within a second.
In this programme the software took three and a half minutes of a thirty-minute show, and nothing in the recording suggests the station cut it short. Each figure in the list above ignores leaders, headers and the announcer, so the real capacity was lower, but the comparison holds: five minutes of FM could carry a whole program for any of the machines Brazilians owned, and the slowest format was the ZX81's, the one most of them had started on. In the same five minutes Fejes's left channel could carry a program while the right one carried the programme, which is why he called the idea Computador FM, the radio of the future (MSX Micro no. 15, May 1988).
The broadcasts faded with the cassette machines they served. What the broadcasters learned, that a channel's error rate matters less than what the format does with an error, applies to any link that carries data.
Sources
- Stichting BASICODE (final editing by Jacques Haubrich), Het BASICODE-3 boek, Kluwer Technische Boeken, Deventer, 1986, text layer at the Internet Archive: the 1979 broadcasts, the tone code, framing, inverted bit 7, checksum, polarity, band, recorders, the bands that failed (accessed 23 November 2026)
- Horst Völz, Basicode mit Programmen auf Schallplatte für Heimcomputer, Verlag Technik, Berlin, 1990, text layer at the Internet Archive: harmonics and detection, the Radio DDR studio tape and the switch to one channel, the listener's recorder (accessed 23 November 2026)
- ITU-R, Recommendation BS.450-4, Transmission standards for FM sound broadcasting at VHF, Geneva, October 2019, PDF: the pilot-tone stereo system, signals M and S, the 38 kHz sub-carrier and the 19 kHz pilot (accessed 23 November 2026)
- nocash, ZX81 and Spectrum technical documentation (zxdocs), problemkaputt.de, web page: ZX81 pulses and silences, Spectrum clock rates (accessed 23 November 2026)
- Ian Logan and Frank O'Hara, The Complete Spectrum ROM Disassembly, SkoolKit transcription by Richard Dymond, routine SA-BYTES at 04C2: Spectrum leader, sync and bit timings (accessed 23 November 2026)
- Matthew Reed, More about BASIC over shortwave, TRS-80.org, web page: Jonathan Marks on the 1981 test, the Optimod, the relays, 747 kHz (accessed 23 November 2026)
- Steve Fox, A look back at Basicode, BEEBUG vol. 3 no. 2, June 1984, text layer at the Internet Archive: Hilversum's Sunday broadcasts on 747 kHz (accessed 23 November 2026)
- Graham Taylor, The home service (interview with Trevor Taylor), Popular Computing Weekly, 1 March 1984, text layer at the Internet Archive: the Tomorrow's World test and the microphone near the speaker (accessed 23 November 2026)
- Alexandre Fejes Neto, column, MSX Micro, year III, no. 18, Fonte Editorial, São Paulo, 1988, text layer at the Internet Archive: square and sine waves, the demodulator, the stereo channels (accessed 23 November 2026)
- MSX Micro no. 15, Fonte Editorial, São Paulo, May 1988, text layer at the Internet Archive: Computador FM, the radio of the future (accessed 23 November 2026)
- Superinteressante, Computador FM, Editora Abril, São Paulo, 31 August 1988, web page: one channel in Portuguese, the other encoded in Japanese (accessed 23 November 2026)
- ASCII Corporation, MSX2 Technical Handbook, chapter 5, Konamiman transcription: the MSX cassette format, bits, bytes, headers and BSAVE files (accessed 23 November 2026)
- Datassette, Clip Informatica especial número 102, catalogue page and its ZIP of the 1987 recording, downloaded and decoded on 23 November 2026: the timing of the data segment and its three files (accessed 23 November 2026)
- Geração Prológica, year III, no. 17, Editele, São Paulo, February 1986, text layer at the Internet Archive: Clip Informática's thirty minutes on Sundays at 15:00, software in the final minutes (accessed 23 November 2026)