Software Automatic Mouth

Software Automatic Mouth, or S.A.M. (sometimes abbreviated as SAM), is a speech synthesis program developed by Mark Barton and sold by Don’t Ask Software. The program was released for the Atari 8-bit family, Apple II, and Commodore 64. Released in 1982, it was one of the first commercial all-software voice-synthesis programs.
Don't Ask Software also sold "PokerSAM", a poker game with speech, and also licensed out the S.A.M. engine for use with other games, such as "Tales of the Arabian Nights" for the Commodore 64.
Technology.
The Apple version uses an included expansion card which contains an 8-bit DAC, although pirates created a modified version of S.A.M. which can instead use the computer's one-bit audio output (with the addition of much distortion) if the card is not present. The Atari version makes use of the embedded POKEY audio chip. Speech playback on the Atari normally disables interrupt requests and shuts down the ANTIC chip during vocal output. The audible output is extremely distorted speech when graphic and text display is turned on. The Commodore 64 makes use of the 64's embedded SID audio chip's 4-bit volume DAC, reducing its quality significantly vs the Apple and Atari versions.
Legacy.
S.A.M. was later used as the basis for the original MacInTalk, as well as Narrator.device in AmigaOS on the Commodore Amiga.
The technology was recreated for the voice of the character of "SAM" in the software Chipspeech.
SAM was used to form the voices of characters in the Indie game FAITH.
The robots in the Wasteland 3 Roleplaying game are voiced over by SAM.
S.A.M. is Trogdor's voice in Peasant's Quest.