Skip to content

AudioUtilTTS 0.3.1

Choose a tag to compare

@crajjjj crajjjj released this 13 Oct 14:39
· 45 commits to main since this release

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 returns false for a line whose voice has no model, so check what it returns.
  • autts status reads differently: it starts with ready | no default model (...) when only other voices are installed, and it says 1 of 12 models loaded where it said 1 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 returns false, and AudioUtilTTS.log names the reason once.
  • Without it, every place of [model] max_loaded goes to your voices, and its memory, about 0.6 GB, is not taken.
  • autts voice says when a voice cannot speak: not spoken: the default model is not loaded, its model is not installed or its 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:

The README is now a short page that points at the docs.

Requirements

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.