Repository navigation
AudioUtilTTS 0.3.1
A voice with a model of its own now speaks without the default voice installed, and the player docs start from what you install.
Download
Install like any mod:
- AudioUtilTTS-0.3.1.zip (7 MB): the plugin, its config, scripts and console commands.
- AudioUtilTTS-Voice-kokoro-en-v0_19.zip (299 MB): the default voice model. It is the same file as in every earlier release: if you have it installed, you do not need it again. From this version on it is optional, see below.
Updating from 0.3.0
Install the plugin archive over the old one. No setting was added or changed, and the Papyrus API (version 3) and the C++ interface (1.0.0) have the same functions as in 0.3.0. What behaves differently:
- Dialogue no longer needs the default voice. In 0.3.0 no dialogue line was spoken while the default model was not loaded, also not for a voice type whose own model was installed.
IsReady()is true as soon as any voice model is installed, not only the default one. A speak call still returnsfalsefor a line whose voice has no model, so check what it returns.autts statusreads differently: it starts withready | no default model (...)when only other voices are installed, and it says1 of 12 models loadedwhere it said1 models loaded.
The default voice is optional
Until now the default model, kokoro-en-v0_19, had to be loaded before anything was spoken. Now a line needs only the model its own voice is on.
- A voice with a model of its own speaks without it: a model folder named like a voice type, a model that lists voice types in its
model.toml, a voice type patch, a preset on another model. That goes for unvoiced dialogue, for lines spoken late and for character lines a mod sends. - Lines on the default model are not spoken without it: narration, the shipped presets (
narrator,female,male,whisper) and with them the generic voices of[dialogue] fallback. The speak call returnsfalse, andAudioUtilTTS.lognames the reason once. - Without it, every place of
[model] max_loadedgoes to your voices, and its memory, about 0.6 GB, is not taken. autts voicesays when a voice cannot speak:not spoken: the default model is not loaded,its model is not installedorits model could not be loaded.- With the default model installed, nothing changes.
For mod authors: IsNarrationFree() is false while the default model is not installed, because narration is taken to be in the default voice. IsSpeechFree() cannot tell whether a speaker's voice has a model, so SpeakActorFrom can still return false after it said true.
Voice Models has the details.
Documentation
The player pages were reworked around what you install and what you then hear:
- Getting Started: what each archive is for, and what you hear with each combination.
- Voices, Presets & Voice Types: a short version first, what a voice type patch is for, and how to write one.
- Voice Models: a model folder named like a voice type needs nothing else, and when a
model.tomlis needed. - Troubleshooting & Logs: a checklist for an NPC who stays silent.
The README is now a short page that points at the docs.
Requirements
- Skyrim SE or AE with SKSE64 and Address Library.
- AudioUtil 0.9.29 or newer. Older versions down to 0.9.9 work with less; Getting Started lists what is missing.
- ConsoleUtil Extended for the
auttsconsole commands.
Licenses
AudioUtilTTS is GPLv3. The DLL contains sherpa-onnx (Apache 2.0), ONNX Runtime (MIT) and espeak-ng (GPLv3); the notices and license texts are in the plugin archive under SKSE\Plugins\AudioUtilTTS\licenses. The default voice model is Kokoro-82M by hexgrad, Apache 2.0.