Please disclose if any significant portion of your mod was created using AI tools by adding the 'AI Generated' category. Failing to do so may result in the mod being removed from Thunderstore.
TTSCompany
This library makes it easy to add TTS speech to your Lethal Company mods
| Last updated | 9 hours ago |
| Total downloads | 8 |
| Total rating | 0 |
| Categories | Tools Libraries Misc Audio BepInEx AI Generated |
| Dependency string | PixelIndieDev-TTSCompany-1.0.0 |
| Dependants | 0 other packages depend on this package |
This mod requires the following mods to function
BepInEx-BepInExPack
BepInEx pack for Mono Unity games. Preconfigured and ready to use.
Preferred version: 5.4.2305xilophor-LethalNetworkAPI
A library/API to allow developers to easily add networking to their mods.
Preferred version: 3.4.2AinaVT-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.6README
TTS-Company
A text-to-speech library mod for Lethal Company that integrates the lightweight, local Piper TTS engine. This library makes it easy for devs to add TTS speech to their mods, with generation happening fully offline on the player's machine.
All players in the lobby must have
TTS-Companyinstalled. Players missing the mod will not hear any generated text-to-speech audio.
For devs
What it does
- Provides a API for other mods to generate local, low-latency text-to-speech audio.
- Spawns, manages, and prepares the underlying background Piper process so it's ready to handle audio requests.
- Uses the Piper TTS engine to generate text-to-speech directly on your machine without relying on external web APIs.
- Caches generated voice lines to significantly cut down on processing overhead and maximize in-game performance for recurring phrases.
- Gives developers the ability to pre-generate specific text-to-speech audio lines ahead of time to guarantee instant and seamless playback when needed.
What it doesn't do
- Does nothing on its own: It solely initializes the background process and exposes the code API. It will not add chat commands, voice lines, or gameplay features unless paired with a mod that uses this library.
- Does not send any data to external servers: all audio synthesis is completely offline.
License & Credits
This mod is licensed under the GPL-3.0 License due to its dependencies and bundled components.
Third-Party Software & Libraries
This mod makes use of the following third-party software:
Piper TTS
- License: GPL-3.0 License
- Usage: Included as modified source code, compiled into a frozen server executable via PyInstaller.
- Source Code: The source code used to build the executable is included as a
.7zarchive inside/PiperTTS.
Concentus
- License: Microsoft Public License
- Usage: Used as a pure C# library for local Opus audio encoding and decoding.
Concentus.OggFile
- License: MIT License
- Usage: Used alongside Concentus to parse, package, and structure the processed audio data into the
.oggfile container format.