Speech2TTS
Converts your voice chat into text-to-speech using offline speech recognition. Press F7 and F8 to toggle between TTS mode and normal voice chat.
模組介紹 作者原文
Speech-2-TTS Mod by NocturnalLyfe
Transform your voice chat into hilarious text-to-speech! Uses completely offline speech recognition.
Features
- Real-time voice -> text -> TTS conversion
- Your actual voice is muted when STT is enabled (only TTS is broadcast)
- Toggle on/off with a single keypress -> F8
- TTS speaks in game for all players to hear
- Flexible model support - allowing change to different Vosk Models
- No performance impact
Installation
Automatic (Mod Manager)
- Install Mod Manager or r2modman
- Launch the game
Manual
- Install BepInEx if not already installed
- Extract the mod folder to REPO/BepInEx/plugins/
- Launch the game
Usage
Controls
- F7 - Toggle Speech-to-Text Menu Panel
- F8 - Toggle Speech-to-Text mode ON/OFF Directly
Modes
STT Enabled (Default):
- Your voice is converted to text
- Text is broadcast via in-game chat as TTS
- Your actual voice is muted (others only hear TTS)
- Perfect for robot voice fun!
STT Disabled:
- Normal voice chat
- Your real voice is transmitted
- No text-to-speech conversion
How It Works
- Speak into your microphone
- Vosk speech recognition transcribes your voice
- Text is sent to the game's chat system
- Game's TTS speaks your message to all players
- Everyone sees and hears your transcribed speech!
Configuration
- Toggle Mod On and Off in Menu or F8
- Toggle Model being used ingame or in config.
- Toggle Sensitivity of your voice to the model.
- Toggle Pre-roll capture for better capturing of speech before talking to get full sentences.
Recommended Models
- vosk-model-small-en-us-0.15 (Default) (~40MB) - Default, fastest, good accuracy
- vosk-model-en-us-0.22 (~1.8GB) - Better accuracy, slower
- vosk-model-en-us-0.42-gigaspeech (~2.3GB) - Best accuracy, slowest
To Use a Different Model:
- Download your preferred model from
- Extract to BepInEx/plugins/NocturnalLyfe-Speech2TTS/model/
- Keep the original folder name (don't rename it)
- The mod will automatically detect and use it!
Tip: You can have multiple models installed - the mod will let you select which one you want to use ingame.
Warning: Changing to larger models will take some time depending on the size and your device. Only recommended for stronger devices.
Troubleshooting
Mod not working:
- Check BepInEx/LogOutput.log for errors
- Ensure all DLLs are in the plugin folder (libvosk.dll, libgcc_s_seh-1.dll, libstdc++-6.dll, libwinpthread-1.dll)
- Verify at least one model folder exists in the model/ directory
Low accuracy:
- Speak clearly and at a moderate pace
- Check microphone quality
- Consider downloading and changing to vosk-model-en-us-0.22 or vosk-model-en-us-0.42-gigaspeech for better accuracy
No audio transmission:
- This is normal when STT is enabled! Your voice is muted and replaced with TTS
- Press F7 to disable STT for normal voice chat
Technical Details
- Default Model: vosk-model-small-en-us-0.15 (~40MB)
- Speech Recognition: Offline Vosk engine
- Sampling Rate: 48kHz
- Language: English (US)
- Supported Models: Any Vosk English model compatible with the API
Credits
- Mod by NocturnalLyfe
- Vosk Speech Recognition:
- BepInEx:
Support
Report issues on Discord: Username is Nocturnal0.
Changelog
See CHANGELOG.md for version history.
安裝與使用 安裝:BepInEx 外掛
- 本站下載的壓縮包就是模組本體,通常是 BepInEx 外掛(解壓後得到 .dll 或外掛資料夾)。
- 建議流程:用社群模組管理器(如 r2modman)選中本遊戲後匯入該模組,管理器會自動裝好 BepInEx 前置並處理依賴。
- 手動流程:先在遊戲目錄裝好 BepInEx 載入器,再把解壓出的 .dll 或外掛資料夾放進 BepInEx/plugins/。
- 啟動遊戲,BepInEx 控制台會列印載入日誌;確認這個模組出現在日誌裡即為安裝成功。
帶「前置依賴」的模組需要一併安裝,否則不會載入。功能開關通常在遊戲內或外掛自帶的設定檔裡調整。
下面這些內容需要先安裝,否則該模組不會生效: