SAM TTS for Retro Games: Terminals, Robots, and Alerts
Plan game speech by event, choose a repeatable SAM recipe, name WAV assets, and handle subtitles, repeated triggers, interruptions and the final audio mix.

In this guide
Treat speech as a set of game events
Generate one short WAV per event: opening a terminal, denying access or warning that power is low. Give every file a stable identifier so a new take can replace the old one without changing the event wiring.
Build the first scene with a small voice set before writing dozens of lines. A single clear recipe is easier to maintain than a different preset for every notification.
System ready. Proceed to platform three.Speed 72 · Pitch 64 · Mouth 128 · Throat 128
Reference take. Compare every change against this same sentence.
Load this exampleSystem ready. Proceed to platform three.Speed 96 · Pitch 64 · Mouth 128 · Throat 128
Only Speed changes. A larger value lengthens the spoken line.
Load this exampleDefine when each line should play
Scroll the table sideways on smaller screens.
| Event ID | Script | Playback rule to implement |
|---|---|---|
| terminal_open | System ready. Enter a command. | Once when the terminal opens |
| access_denied | Access denied. Find the blue key. | On failure, with a cooldown |
| power_low | Power is low. Return to the elevator. | At the threshold, with priority over ambient speech |
| objective_complete | Relay restored. Proceed to platform three. | Once when the objective changes |
Cast a voice, then control timing
Begin at 72/64/128/128 in Speed/Pitch/Mouth/Throat order. For a slower terminal, try Speed 96 without changing the other values. For a lower robot, try Pitch 88 at the original Speed. Compare the sample recordings before choosing the character.
Store the chosen parameters with the script. Keep the voice identity stable and vary wording or timing for different events. Radio messages can use a separate source recipe, but the radio effect belongs in the audio-processing stage.
Export a predictable asset set
Use names such as terminal_open_en_v01.wav. Track the display text, TTS spelling, recipe and approved take in a small manifest. Subtitles can retain the normal spelling while the synthesis input uses a tested phonetic rewrite.
The current download is mono 22,050 Hz, 8-bit PCM WAV. Convert a copy if your game engine's import settings need another format. Retain the dry file before adding effects, and avoid including several competing versions in the final asset directory.
Handle interruptions and repeated triggers
Queue or replace speech when two events fire together. An urgent warning may need to interrupt an ambient terminal message, while a pickup sound should not repeat continuously as the player stands near an object. The TTS website generates the files; implement those rules in the game.
Test rapid retriggering, opening and closing the terminal, pausing the game, and revisiting an area after an objective changes. Use subtitles for important instructions and keep the subtitle duration aligned with the actual recording.
Check the line inside the game
Play the same event under quiet ambience and the busiest likely mix. Reduce competing audio during an essential instruction, and verify that the last word is not cut off by scene transitions. Check on ordinary speakers as well as headphones.
Before publishing, review the engine and asset terms for your intended use. The ability to download a clip does not itself resolve the licensing status of every underlying speech engine or third-party character reference.
