Skip to content

Configuration Reference

All settings live in one file, Data\SKSE\Plugins\AudioUtilTTS\AudioUtilTTS.toml, every key commented. Every key is optional; the defaults below are the shipped values. After editing, run autts reload. With SKSE Menu Framework, the In-Game Menu edits the file for you.

A file that does not parse is not used: the previous settings stay, and AudioUtilTTS.log names the line.

[general]

Key Default Meaning
enable true Master switch. false loads no model and speaks nothing
fill_in_voices true Use the fill-in voices voice archives offer for voice types nothing else voices. false switches them all off

[model]

The default model; see Voice Models. It is optional: without it only voices with a model of their own speak.

Key Default Meaning
dir "kokoro-en-v0_19" A folder under Data\SKSE\Plugins\AudioUtilTTS\models\. Loaded at game start and kept
family "auto" "auto": Pocket when the folder has an lm_main*.onnx, Kokoro when it has voices.bin, VITS otherwise. Or "kokoro", "vits", "pocket"
threads 2 CPU threads per line, 1 to 16. More = ready sooner, and more cores taken from the game for that moment
lexicon "" Multi-language Kokoro builds only: file names inside the model folder, comma separated
lang "" Multi-language Kokoro builds only
max_loaded 4 Models kept in memory besides the default one and those in keep_loaded, 1 to 32. See How many fit in memory
keep_loaded "pocket-tts" Model folders never unloaded to make room, comma separated: a model many voices share. Not counted in max_loaded

[voice]

The default voice: what a line gets when it names no preset.

Key Default Meaning
voice 7 Voice number inside the default model, or for a Pocket model the name of one of its recordings in quotes. See Voices
speed 1.0 1.0 = the model's natural pace, 0.5 to 2.0
volume 1.0 0.0 to 1.0, before AudioUtil's group volume

[preset.<name>]

A named voice mods ask for. See Presets.

Key Default Meaning
model the [model] one A model folder, loaded on first use
voice the [voice] one Voice number inside that model, or for a Pocket model the name of one of its recordings; on another model, left out = its first voice
speed the [voice] one 0.5 to 2.0
volume the [voice] one 0.0 to 1.0

The shipped file defines narrator (voice 7), female (1), male (9), whisper (2) and bella (1, for your own lines). Mods can bring more in presets\*.toml; yours win over theirs. See Preset files.

[voicetype]

Which preset speaks for a voice type. See Voice Types.

[voicetype]
MaleNord = "malenord"          # voice type editor ID = "preset name"
CrDogVoice = ""                # never spoken for

Case is ignored on both sides.

[dialogue]

Dialogue lines that have no voice file. See Unvoiced Dialogue.

Key Default Meaning
enable true false leaves the game unpatched; a change needs a game restart. autts dialogue 0 switches it off for one session
fallback false true: a voice type with no voice of its own is spoken with the preset female or male by its sex (needs the default model)
greetings true Speak a new line said right away as soon as it is ready, a moment late, instead of leaving it unvoiced that once. See Greetings spoken late
greetings_max_late 4.0 The latest such a line may still be spoken, in seconds after the NPC begins it, 0.5 to 10
greetings_split true Speak a long late line in two parts, so that it starts sooner
prepare_greetings false Generate nearby NPCs' greetings ahead of time. Heavy; see Greetings made ahead
lipsync true Move the speaker's mouth with the loudness of the line
lip_strength 0.8 How far the mouth opens, 0.0 to 1.5
skip_directions true Leave out text in (parentheses), [brackets] or *asterisks*
slots 128 Placeholder voice files, 64 to 256. A line that finds none free stays unvoiced. New ones work after the next restart
cache_max_mb 1024 Size limit of the line cache in MB; the lines used longest ago go first. 0 = no limit
volume 1.0 How loud dialogue lines are, 0.0 to 2.0: 1.0 = as the voice generates them, 2.0 = twice as loud. Goes into the placeholder file, so it reaches cached lines and lines spoken late too; above 1.0 the loudest peaks may clip. The game's Voice slider applies on top

[player]

Your own lines, with Dragonborn ReVoiced. See Your Own Lines.

Key Default Meaning
enable true false: Dragonborn ReVoiced handles the lines its pack lacks as before, in silence. autts player 0 switches it off for one session
preset "bella" The voice your lines are spoken with: as shipped the preset bella, af_bella. Empty = the preset female or male by your character's sex. A voice type is never used
max_wait 5.0 The longest the conversation waits for a line to be generated, in seconds, 1 to 30. A line that would take longer stays silent that once and is generated for the next time
group "speech" AudioUtil volume group
channel "player" AudioUtil channel. Must differ from the [playback] and [speech] ones
slots 4 Placeholder wav files, 1 to 16. New ones work after the next restart
volume 1.0 How loud your lines are, 0.0 to 2.0: 1.0 = as the voice generates them. Goes into the placeholder file, so it reaches cached lines too; above 1.0 the loudest peaks may clip. The preset's volume comes on top

[skyrimnet]

SkyrimNet's NPC lines, at the address of its XTTS voice engine. See SkyrimNet.

Key Default Meaning
enable false Answer SkyrimNet at http://localhost:<port>, only while it is installed. A port another program holds at game start is left to it
port 8020 The port of SkyrimNet's XTTS address, 1024 to 65535. Change it together with that address
voice_cloning false Keep the voice samples SkyrimNet sends and speak each of those speakers like its sample, with the Pocket model below. false: SkyrimNet names its speakers by voice type and the voices installed here speak
clone_model "pocket-tts" The Pocket model folder voice samples are spoken with

enable and port take effect when changed in the menu or with autts reload; the other two from the next line on.

[playback]

Narration, plus four keys that reach further: interrupt and max_pending also govern character speech, max_chars and output_rate every line, dialogue included.

Key Default Meaning
group "narration" AudioUtil volume group
channel "narration" AudioUtil channel. Must differ from the [speech] one
interrupt false true: a new line cuts into the one being spoken
max_pending 0 Lines that may wait, 0 to 16. See below
max_chars 400 Longer text is cut at the last sentence that fits, 16 to 4000
slots 4 Placeholder wav files, 1 to 16. New ones work after the next restart
output_rate 0 0 = the model's own sample rate. Set 44100 if speech plays at the wrong pitch or speed
volume 1.0 How loud narration is, 0.0 to 2.0: 1.0 = as the voice generates it, 2.0 = twice as loud. Goes into the placeholder file; above 1.0 the loudest peaks may clip. The [voice] and preset volumes come on top

max_pending

  • 0: one line at a time. A line that arrives while another is being generated or spoken is dropped and logged. With interrupt = true the new one cuts in instead. A line still waiting for the worker is replaced by a newer one.
  • 1 or more: that many wait and follow each other; past that, the oldest waiting line is dropped.

Narration and character speech each count on their own. A line another mod cut short frees its place at once (AudioUtil 0.9.28 or newer).

[speech]

Character speech: a line an actor says.

Key Default Meaning
group "speech" AudioUtil volume group
channel "speech" AudioUtil channel. Must differ from the [playback] one
lipsync true Move the speaker's mouth. Needs AudioUtil 0.9.26 or newer
slots 4 Placeholder wav files, 1 to 16. New ones work after the next restart
volume 1.0 How loud character lines are, 0.0 to 2.0: 1.0 = as the voice generates them, 2.0 = twice as loud. Goes into the placeholder file, so it reaches cached lines too; above 1.0 the loudest peaks may clip. The preset's volume comes on top

Text replacements

Words and phrases replaced in every line before it is spoken: dialogue, your own lines, narration and character speech. For text a mod writes that should not be read out as it is: a race renamed by a body mod ("Nord UBE"), an abbreviation, a name the voice mispronounces.

They live in files of their own, Data\SKSE\Plugins\AudioUtilTTS\replacements\*.toml, so a mod can ship one and you keep yours. Every file there is read, in file name order; a phrase two files replace goes to the later file.

[replace]
"Nord UBE" = "Nord"      # what the text says = what is spoken
UBE = ""                 # or dropped
"Dr." = "Doctor"
Dibella = "Dibelluh"     # a pronunciation hint
  • A phrase matches whole, never inside another word: UBE leaves "tube" alone. A phrase that starts or ends with punctuation needs no word boundary on that side.
  • Case is ignored. Longer phrases are applied first, so "Nord UBE" wins over UBE where both match.
  • The replaced text is what gets cached, so a changed rule reaches a line the next time it is generated; autts clearcache forces that.
  • autts reload reads the files again. The shipped _example.toml shows the format and holds one rule: UBE = "", for the race names a body mod of that name appends it to ("Nord UBE" is spoken as "Nord").

Files beside it