This repo contains various python OSC helper scripts that I made for VRChat, mostly stuff that interacts with the new chatbox api!
For additional feedback or help feel free to join the Discord!
All these scripts require python3 and use pip for dependency management unless otherwise specified.
Be sure to enable OSC in your VRChat radial menu before using these scripts!
If you don't have python installed already, and you are running Windows, get it from here and be sure to click "Add Python to environment variables" in the installer (Under Customize Install -> Advanced Options)
If you want a quick video tutorial on how to use these scripts, check this video I made!
This script attempts to auto-transcribe your microphone audio into chat bubbles using the Google Web Search Speech API (via the SpeechRecognition
package) -- It's considered a prototype and has many issues, but is kinda neat!
If you're on windows, try double-clicking RunVRCSubs.bat
after installing python!
First, install deps:
pip install -r VRCSubs/Requirements.txt
Then, get in VR and launch the game, and ensure your headset mic / mic you use is your default in windows! (Setting a specific mic isn't supported yet)
Last, run the script
python VRCSubs/vrcsubs.py
The script should start listening to you right away and will send chatbox messages as you speak!
You don't need any avatar-specific setup to use VRCSubs! But if you'd like you can add some additional paramaters to make controlling it easier. For more information check out: VRCSubs OSC Avatar Toggle Setup
Some options can be configured in VRCSubs/Config.yml
-- Just edit that file and check the comments to see what the options are!
There is a prototype live translation function in VRCSubs. It's considered a prototype and the output may not be very useful, but if you with to try it adjust the options EnableTranslation
and TranslateTo
in VRCSubs/Config.yml
!
This script broadcasts what you're currently listening to your chatbox, grabbing the data from the Windows MediaManager API.
If you're on windows, try double-clicking RunVRCNowPlaying.bat
after installing python!
First, install deps:
pip install -r VRCNowPlaying/Requirements.txt
Then, just run the Script
python VRCNowPlaying/vrcnowplaying.py
Now, listen to some music and watch your chatbox!
Some options can be configured in VRCNowPlaying/Config.yml
-- Just edit that file and check the comments to see what the options are!