Written Tutorial
Prefer to read? The same walkthrough, step by step.
What you will make
One scene of a small fantasy game with four voices: an innkeeper, a hero, a bandit chief and a troll. You follow Lina, a solo developer, from the first voice to the files her game engine imports. Lina and her game are made up for the video. Every voice in it was made in Foundry, on one Windows PC.
1. Cast your characters
Open the Text to Speech tab, go to the Voice Library and click Create New Voice. Start with a name (there is even a Fantasy group of quick start presets), then the gender and the age. On the next page you set the tone, the pitch, the pace and the texture, and Foundry generates auditions to choose from. Keep the one you like. From then on, that character sounds the same in the first line of your game and in line four hundred.
There are two more ways to get a voice. Clone Reference Voice turns a recording into a voice, your own for example. And when you need someone quickly, the library has ready voices.
2. Put the scene together
A scene is one speech document that holds the whole conversation. Paste your dialogue and write each character's name in square brackets at the start of their line. Every name becomes a speaker with its own colour. In Cast, give every speaker a voice, then press Generate All. Lina's thirteen lines were spoken in under a minute.
3. Direct every line
Click a line, open Edit delivery and pick an emotion or speaking style. Its intensity runs from one, just a hint, to five, the full performance. In the video, the bandit's threat gets Villainous at four. For a laugh, write (laughing) into the text and Foundry performs it. Insert puts a pause between two lines: a quick comeback here, a long beat before the troll wakes up.
4. Make a creature
Select the troll's lines, click Effects, and under Pitch and Voice pick the Pitch Shifter. Three semitones lower. Now he sounds like he lives under a bridge. Other effects make a wolf, a ghost or a starship computer the same way.
5. Takes
Not every take is the one. Right-click a line, open Manage takes and press Regenerate New Take. The old take stays in the list, so you can play them all and approve the best one. Generation is unlimited, so a line gets as many takes as it needs.
6. Export for your engine
Click Export, open More export options and set Segmentation to Individual clips. Every line becomes its own WAV file, numbered in script order with the character's name in it, ready for Unity, Godot, Unreal or Ren'Py. For a trailer or a cutscene, export the whole scene as one file.
7. Your AI assistant voices the rest
Thirteen lines are easy by hand. A whole game has hundreds. On the Professional plan you hand your own AI agent the dialogue file of your game, tell it which voice belongs to which character, and let it work. It sends every line to Foundry, checks the takes and hands back the files. Foundry comes with written instructions for agents in its documentation\agent_skills folder.
The run you see in the video is real: 30 lines and 46 files, with three takes for every battle shout. Foundry's speech recognition checked every take, and the job was done 18 minutes after the message.
Three tips
Made-up names. If a name comes out wrong, open Hot Words. On the Pronunciation tab, write the name and how it should sound.
Battle shouts. Generate several takes at once and keep the best two or three. Your players will hear them a lot.
Your next game. Right-click a voice in the Voice Library and choose Copy to Project. It sounds exactly the same there.
Which plan you need
Both plans give you all of Foundry with unlimited generation, and both let you ship these voices in your own games, even commercial ones. Professional adds your own AI assistant and voicing games for other studios. Try it on your own game with the 7-day free trial. See the plans.
What you need
Windows 10 or 11 and an NVIDIA graphics card with 6 GB or more (12 GB recommended). AMD cards with 8 GB are supported as experimental.
Your scripts stay on your PC
The AI runs on your own graphics card. Your scripts and voices are saved on your PC, they never reach our servers, and nobody at Demodokos hears them.