TeamVerity-TTSCompanyFix icon

TTSCompanyFix

This library makes it easy to add text-to-speech (TTS) speech to your Lethal Company mods. With important fixes.

Last updated 11 hours ago
Total downloads 105
Total rating 0 
Categories Audio BepInEx Bug Fixes AI Generated
Dependency string TeamVerity-TTSCompanyFix-1.0.7
Dependants 1 other package depends on this package

This mod requires the following mods to function

BepInEx-BepInExPack-5.4.2305 icon
BepInEx-BepInExPack

BepInEx pack for Mono Unity games. Preconfigured and ready to use.

Preferred version: 5.4.2305
xilophor-LethalNetworkAPI-3.4.2 icon
xilophor-LethalNetworkAPI

A library/API to allow developers to easily add networking to their mods.

Preferred version: 3.4.2
AinaVT-LethalConfig-1.4.6 icon
AinaVT-LethalConfig

Provides an in-game config menu for players to edit their configs, and an API for other mods to use and customize their entries.

Preferred version: 1.4.6
qwbarch-Concentus-2.3.0 icon
qwbarch-Concentus

Portable C# implementation of the Opus audio compression codec

Preferred version: 2.3.0
Rune580-LethalCompany_InputUtils-0.7.13 icon
Rune580-LethalCompany_InputUtils

API/Library for creating Unity InputActions with in-game re-binding support. Provides an alternative UI that allows for supporting mods to have in-game re-bindable keybinds.

Preferred version: 0.7.13

README

TTS-Company — Fixed Fork

A fixed fork of TTS-Company, the text-to-speech library mod for Lethal Company. The original project integrates the lightweight, local Piper TTS engine, allowing compatible mods to generate speech offline on the player's machine.

All players in the lobby must have TTS-Company installed. Players missing the mod will not hear generated text-to-speech audio.

Marked as AI-Generated because the mod produces AI-generated text-to-speech audio.

About this fork

This fork preserves the original mod's purpose while adding a critical compatibility fix. It also includes custom voices used by my own Verity mod.

  • Critical fix: Fixes file structure to address an issue affecting the original mod.
  • Custom voices: Includes additional voices for use with my Verity mod.
  • Minor manifest fix: Includes a small correction to the Thunderstore manifest.json.
  • No other intentional changes: Aside from the critical fix and the custom voices, this fork is intended to remain the same as the original.

Recommendation: If you use the original TTS-Company and are affected by the issue fixed here, use this fixed fork instead. It is intended as a drop-in replacement; avoid installing the original and this fork together.

Original project and documentation

This is a community-maintained fork, not the original project.

For general usage, developer instructions, and the original implementation, please refer to the original repository and documentation above.

What it does

  • Provides an API for other mods to generate local, low-latency text-to-speech audio.
  • Starts, manages, and prepares the background Piper process for audio requests.
  • Uses Piper TTS to generate speech locally without relying on external web APIs.
  • Caches generated voice lines to reduce processing overhead for recurring phrases.
  • Allows developers to pre-generate selected lines for fast playback when needed.

What it doesn't do

  • Does nothing on its own gameplay-wise: It initializes the background process and exposes an API. It does not add chat commands, voice lines, or gameplay features unless another mod uses the library.
  • Does not send synthesis requests to external servers: Speech synthesis is performed locally.

Credits and license

Credit and thanks go to the original TTS-Company author(s) and contributors for creating and maintaining the original mod. This fork builds on their work and is intended to preserve its original purpose.

The original project was released under the GNU General Public License (GPL). This fork retains the original project's GPL licensing terms, subject to the applicable license and obligations for the included components. Please consult the original repository and the license files distributed with this package for the authoritative license text and source-code requirements.

Third-party software

Piper TTS

  • License: GPL-3.0.
  • Use in the original project: Piper TTS is used for local text-to-speech synthesis. The original README states that the source used to build the bundled executable is included as a .7z archive in /PiperTTS.

Please consult the original project's repository and included license notices for further details on third-party components.