Build-Your-Own Speech Synthesizer (SP0256-AL2)
- Year
- 1987
- Type
- DIY project
- Category
- Speech synthesizer
- Manufacturer
- Homebrew designs (Bill Marquardt / Antic; Lee Brilliant / ANALOG; Kevin Griffin / Page 6; Thomas Richter)
- Tags
- speech, sp0256-al2, allophones, joystick-port, porta, antic, analog, page-6, diy, beginner
Overview
Commercial Atari speech boxes of the early 1980s, such as the Votrax Type 'n Talk, Alien Group Voice Box and ITalkII, used the Votrax SC-01-A chip. Hobbyists found a cheaper route once Radio Shack began selling General Instrument's SP0256-AL2 "narrator" chip over the counter (part 276-1784, $12.95 in 1987). Several magazine build-it-yourself projects used it:
| Project | Published | Connection |
|---|---|---|
| Cheap-Talk — Build Your Own Speech Synthesizer | Lee Brilliant, ANALOG Computing #29, April 1985, pp. 59–67 | joystick ports 1+2 (or 3+4 on a 400/800) |
| Atari Speaks | Kevin Griffin, Page 6 #19, Jan/Feb 1986 | joystick ports, built-in speaker |
| Talking Typewriter | Bill Marquardt, Antic, January 1987 (Vol. 5 No. 9) | joystick ports 1+2; 8-bit and ST versions |
All of them power the chip from the Atari, and all use the same simple principle.
How it works
The SP0256-AL2 has 59 allophones (speech sounds) and 5 pauses in internal ROM, selected by a 6-bit address. You speak a word by sending its allophones one after another and finishing with a pause. Two handshake lines control the flow:
- /ALD (Address LoaD), from computer to chip: a high-to-low pulse latches the address.
- /LRQ (Load ReQuest), from chip to computer: goes low when the chip is ready for the next sound.
The Atari's PORTA ($D300 / 54016) combines joystick ports 1 and 2 into one 8-bit port. The Talking Typewriter uses bits 0–5 for the address, bit 6 for /ALD (output) and bit 7 for /LRQ (input). Setting it up from BASIC:
15 P=PEEK(54018)
16 POKE 54018,P-4:REM PACTL bit 2 = 0 selects the direction register
17 POKE 54016,127:POKE 54018,P:REM bits 0-6 output, bit 7 input
60 IF PEEK(54016)>127 THEN 60:REM wait for LRQ low
70 POKE 54016,A+64:POKE 54016,A:REM put address out, then pulse ALD low
This is a sketch of the method; the magazine's TYPETALK.TLK listing is the full program. The chip's strobe-enable, pin 19, is tied high to select mode 1, in which it accepts an address on each ALD pulse. Marquardt warns that BASIC timing matters. Packing several statements onto one line produced silence, so add short delay loops if needed.
Parts (Talking Typewriter)
| Part | Value (Radio Shack # in 1987) |
|---|---|
| U1 | SP0256-AL2 (276-1784) |
| XTAL | 3.12 MHz specified; 3.579 MHz colour-burst crystal worked fine |
| C1, C2 | 22 pF preferred (47 pF worked) |
| C3, C4, C5 | 1 µF, 0.022 µF, 0.1 µF |
| R1, R2 | 33 kΩ (or a 50 kΩ pot for more volume), 100 kΩ |
| D1 | 1N914 |
| P1, P2 | two female DB-9 connectors |
Audio: the chip needs amplification. On 8-bit machines the trick is to feed it into SIO pin 11 (audio in), with pin 6 as ground, so the voice comes out of the TV speaker. You can do this by modifying a spare SIO cable, popping out pins 6 and 11 to solder to them. It worked well on an 800XL but was quiet on an 800, which is where the 50 kΩ pot comes in. Alternatively, use an external one-watt amplifier or a stereo input.
Connectors: standard DB-9s need a corner bent to fit an XL's joystick ports. XE ports are recessed too deeply, so the authors used Radio Shack joystick extender cables. Ordinary joystick cables lack the +5 V pin the circuit needs.
A modern handler (THOR, 1997)
Thomas Richter's 1997 voice handler for an "800XL voice box" drives the same SP0256-AL2 through a 6522 VIA. It installs a V: device in the handler table via CASINI, so programs can simply PRINT phoneme strings to V:. It buffers output, checks for illegal phonemes, generates the strobe from a VBI routine (rather than the VIA interrupt), and supports variable speed. The base address is set for Turbo BASIC and can be reassembled for other uses, and it doesn't yet set MEMLO.
Going further
Antic pointed experimenters to the companion CTS256A-AL2 text-to-speech controller, which turns plain ASCII into allophone sequences on its own. Antic rated the Talking Typewriter circuit suitable for beginning hardware hackers, easier to build than its WEFAX interface, and it remains one of the friendliest first hardware projects for an Atari.
Credits
- Picture: Antic's Figure 3: an SIO cable modified to feed the speech chip's audio into SIO pin 11 (January 1987). — Figure 3 from 'Talking Typewriter' by Bill Marquardt, Antic Vol. 5 No. 9 (Jan 1987), via atarimagazines.com (used for identification/commentary)
- Bill Marquardt — Atari Talking Typewriter, Antic v5n9 (January 1987) — Figure 3 from 'Talking Typewriter' by Bill Marquardt, Antic Vol. 5 No. 9 (Jan 1987), via atarimagazines.com (used for identification/commentary), 1987
- comp.sys.atari.8bit FAQ, section 6.9 (voice/speech synthesis hardware) (Michael Current, Feb 2026) — Michael Current (comp.sys.atari.8bit FAQ), 2026
- Thomas Richter (THOR) — Voice handler source for SP0256-AL2 (1997), Nir Dary collection — Thomas Richter (THOR), 1997
