SPEECH CHIP COLLECTION

SP0256-AL2

SP0256 speech processor with the factory-programmed AL2 internal ROM: 59 allophones and five pauses.

General Instrument SP0256-AL2 speech synthesizer chip

Overview

The SP0256-AL2 is an SP0256 with the AL2 speech program manufactured into its internal 16-kilobit ROM—2,048 bytes, not 16 kilobytes. AL2 supplies 59 allophones and five pauses, selected by 64 codes. The suffix identifies those built-in contents; there is no separate AL2 ROM chip to plug in. It is also important not to confuse it with the CTS256-AL2, a separate text-to-speech companion. The internal ROM is mask-programmed during manufacture, so an ordinary programmer cannot erase it or replace its vocabulary after purchase.

Explore the SP0256 family, gallery, and samples →

Why allophones made AL2 useful

An allophone is a particular realization of a speech sound. By choosing these building blocks in sequence, a computer can attempt new words without a stored recording of every word. This is the basis of AL2’s “unlimited vocabulary” description: it means words can be assembled, not that the chip understands written English. Software—or the CTS256-AL2—must convert spelling into sound codes. The stock allophones have programmed pitch and timing rather than a set of normal host commands for arbitrary intonation. Sound selection and pauses help phrasing, and changing the clock shifts both pitch and speed. Concatenation does not provide all the transitions of fluent speech, which helps explain AL2’s recognizable robotic accent.

How a tiny chip reconstructs a voice

Rather than store a continuous recording as thousands of waveform samples, the SP0256 stores instructions and compact descriptions of how a voice changes over time. Linear predictive coding (LPC) models speech as an excitation signal shaped by the resonances of the vocal tract. For voiced sounds, the excitation is a repeating pulse train whose spacing determines pitch; for unvoiced sounds, such as hiss-like consonants, it is noise. A 12-pole digital filter shapes that source into speech. Changing its coefficients changes the simulated resonances; amplitude, pitch, and timing parameters control other features of the sound.

Why provide an external ROM interface?

Two kilobytes is a small budget for complete phrases. An appliance might need only a few announcements, but a talking game, clock, or computer peripheral could need much more. External speech ROMs supplied additional encoded speech programs without redesigning the synthesis engine. They could hold complete words and phrases, specially prepared voices, melodies, or effects. A custom phrase program can preserve acoustic changes within a whole utterance that simple concatenation of isolated allophones may miss. Extra memory therefore expands the available speech content; it does not turn the SP0256 into a new kind of synthesizer.

SP0256-AL2 pinout

Top view. Hold the chip with the notch at the top: pins 1–14 run down the left side; pins 15–28 run up the right side, so pin 28 is at the upper right.

PinSignalFunctionPinSignalFunction
1VSSGround reference.28OSC2Crystal oscillator output; connects to the other side of the 3.12 MHz crystal.
2RESETActive-low reset for the synthesizer circuitry powered by VDD; return high for normal operation.27OSC1Crystal oscillator input; the data sheet specifies a 3.12 MHz crystal.
3ROM DISABLEControls the external serial speech-ROM interface; logic high disables the external ROM.26ROM CLOCKClock output for an external serial speech ROM; not needed for the AL2 internal allophone ROM.
4C1External serial speech-ROM control output.25SBY RESETActive-low reset for the interface logic and address latches; return high for normal operation.
5C2External serial speech-ROM control output.24DIGITAL OUTPulse-width-modulated speech output; use a low-pass filter and audio amplifier for a speaker.
6C3External serial speech-ROM control output.23VD1Positive supply for the microprocessor-interface logic and controller.
7VDDPositive supply for the speech-synthesis circuitry; the interface logic has a separate VD1 supply.22TESTTie to ground for normal operation.
8SBYStandby status output; high indicates the synthesizer is inactive.21SER INSerial data input from an external serial speech ROM.
9LRQLoad Request output; low indicates that the address input may be loaded.20ALDActive-low Address Load input; a negative pulse loads the address on A1–A8.
10A8Most-significant address input. For the AL2 allophone set, tie low.19SEStrobe Enable input. Normally high to use ALD; low selects automatic address latching when an address line rises.
11A7Address input. For the AL2 allophone set, tie low.18A1Least-significant address input; one of the six bits used to select an AL2 allophone or pause.
12SER OUTSerial address output for accessing an external serial speech ROM.17A2Address input; one of the six bits used to select an AL2 allophone or pause.
13A6Address input; one of the six bits used to select an AL2 allophone or pause.16A3Address input; one of the six bits used to select an AL2 allophone or pause.
14A5Address input; one of the six bits used to select an AL2 allophone or pause.15A4Address input; one of the six bits used to select an AL2 allophone or pause.

The AL2 uses six address bits (A1–A6) for its 64 internal entries: 59 allophones and five pauses. The data sheet says to tie A7 and A8 low for this set.

With SE high, set the address and pulse ALD low. With SE low, the chip latches an address when it detects a rising address input; address zero cannot be loaded in this automatic mode.

LRQ is active low: when it goes low, the input can accept another address. SBY is a separate status signal that indicates whether the chip is speaking or in standby.

C1–C3, SER IN, SER OUT, ROM DISABLE, and ROM CLOCK serve the external serial speech-ROM interface. The AL2 contains its allophone ROM internally.

The datasheet shows separate VDD and VD1 supply pins. Follow the data sheet’s power and reset recommendations when wiring the chip.

Pin assignments from the General Instrument SP0256-AL2 data sheet / Radio Shack 276-1784 manual.

Alphabet — Currah SP0256-AL2

Currah Voice Messenger alphabet; the final letter is pronounced “zed.”

Digits — Currah SP0256-AL2

Currah Voice Messenger: digits one through nine, then zero.

By your command — Currah SP0256-AL2

Currah Voice Messenger demonstration using a lower clock rate.

SP0256-AL2 allophone demonstration

The individual AL2 speech sounds, recorded during chip experiments.

Voice Messenger — low voice

Currah Voice Messenger: “VOICE MESSENGER SPEECH SIXTY 4,” using its low voice setting.

Voice Messenger — high voice

The same phrase using the Currah Voice Messenger’s high voice setting.

The “I” sound

AL2 sound-code demonstration from the ooPIC experiments.

Experimental address scan

An experimental scan of addresses outside the normal AL2 sound set; includes static and other sounds.

The ooPIC is talking

A phrase assembled from AL2 allophone codes.

Standby signal experiment

Recording from the ooPIC experiment using the standby signal to control speech-code loading.

Documentation and downloads

Machines using this chip

Associated Projects