JS03-PySpeech icon

PySpeech

Automatic speech recognition API for Lethal Company

Last updated 4 days ago
Total downloads 539
Total rating 1 
Categories Libraries BepInEx Client-side
Dependency string JS03-PySpeech-1.0.1
Dependants 2 other packages depend on this package

README

PySpeech

A mod that uses C# and Python to allow developers to use OpenAI's Whisper in Lethal Company for automatic speech recognition.

What does this do?

This is an API that other developers can use to build their own features, such as adding voice commands or real time speech transcription. Clients can choose the model they want to be used as well as the language to recognize in the config.

How does this work?

Essentially, when the game starts it runs a Python script on a separate thread to capture and feed microphone audio to whatever model the player chose. The output of the script is then captured by the mod, which has a couple of methods other developers can use to access that data and add their own features.

If you'd like to know how you can implement PySpeech in your project head to the developer guide.