Skip to content

AudioUtilTTS 0.5.0

Choose a tag to compare

@crajjjj crajjjj released this 16 Oct 22:10
· 19 commits to main since this release

Pocket TTS joins Kokoro and VITS: one model that speaks like a short recording, so a voice is a wav file. Fill-in voices give stand-ins to the voice types nothing else voices, and a line spoken late is now timed from when the NPC begins it, which helps with DBVO.

Download

Install like any mod:

  • AudioUtilTTS-0.5.0.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. It is optional since 0.3.1.
  • AudioUtilTTS-Voice-pocket-tts.zip (103 MB), optional: the Pocket TTS model, installed as models\pocket-tts. It has no voices of its own.
  • AudioUtilTTS-Voices-FillIn.zip (23 MB), optional: fill-in voices for 38 vanilla voice types, one recording each. Needs the Pocket model.

Updating from 0.4.0

Install the plugin archive over the old one; nothing else to do. The two new archives are optional. The Papyrus API (version 3) and the C++ interface (1.0.0) are the same as before.

  • [model] max_loaded no longer counts the default model, so the shipped 4 keeps one more Kokoro model in memory than before: five Kokoro models take about 3.1 GB, and the Pocket model about 0.6 GB more.
  • [dialogue] greetings_max_late now defaults to 4 seconds (was 3). An AudioUtilTTS.toml a voice pack ships keeps its own value.

Pocket TTS models

Kyutai's Pocket TTS is a third model family: it speaks like a short recording. family = "pocket" is picked by itself when the model folder holds an lm_main*.onnx.

  • A Pocket model has no voices of its own. Each wav in its voices\ folder is one voice, named by its file name: voice = "gruff" is voices\gruff.wav, in presets, voice type patches, model.toml and [voice]. A number still works (the recording's place in name order).
  • Only the first 10 seconds of a recording are used, and speed does not apply to Pocket voices.
  • A recording a mod adds leaves the cached lines of the others as they are.
  • Use only voices you may use. Kyutai's terms forbid cloning a voice without its owner's consent.

Pocket voices has the details.

Fill-in voices

A voice type patch or model.toml that starts with fill_in = true offers its voices only for the voice types nothing else gives a voice: a voice archive named after the voice type, a patch or a [voicetype] line always wins, also one installed later. A voice meant for a voice type beats a fill-in whatever the file order. [general] fill_in_voices = false switches them all off, also in the menu on the Voice types page.

AudioUtilTTS-Voices-FillIn.zip uses this for 38 vanilla voice types. See Fill-in voices.

Models in memory

  • [model] keep_loaded: model folders that are never unloaded to make room, comma separated. Shipped as "pocket-tts", since one Pocket model serves many voices.
  • [model] max_loaded counts only the models that come and go. The default model and the kept ones sit outside it and never count.

How many fit in memory has the numbers.

Dialogue spoken late

  • Timed from when the NPC begins the line. greetings_max_late used to count from when the game built the line. With DBVO or another mod that voices the player, the NPC answers seconds later, so a line that was ready before the NPC spoke could be refused as too late.
  • Clearer log lines for a line that stays silent. Line said before it was ready: the game reached a line whose voice was still being generated, so it played as silence that once. Line not spoken late (...): the game never reported who said it is now logged for each such line, with its topic info. When the speaker went on to another line, the message names both topic infos.

Greetings spoken late and Troubleshooting have the details.

Requirements

Licenses

AudioUtilTTS is GPLv3. The DLL contains CommonLibSSE-NG (GPLv3 or later, with a modding and a linking exception), sherpa-onnx (Apache 2.0), ONNX Runtime (MIT), espeak-ng (GPLv3), toml++ (MIT) and the client header of SKSE Menu Framework (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.

The Pocket model is Kyutai's Pocket TTS, ONNX export by KevinAHM, packaged by sherpa-onnx, CC BY 4.0, with Kyutai's use policy, which forbids cloning a voice without its owner's consent. The fill-in recordings come from kyutai/tts-voices: CC0 1.0 from the Kyutai Unmute Voice Donation Project, and CC BY 4.0 from the CSTR VCTK Corpus (University of Edinburgh) and Alba MacKenna. voices\fillin-CREDITS.txt in the archive names the source of each.