Skip to content

VRChat Listener

VRCWizard edited this page Aug 19, 2023 · 10 revisions

This feature specifically listens receives data from VRChat for certain features. Only one OSC program can listen to VRChat on port 9001. You can have an AFK message that displays when ever you go AFK in VRChat. Counters are meant to be used with VRChat Contact Receivers. Although they can be used to count when any bool is enabled.

image

Adding and using Counters

image

  1. Enable OSC in VRChat

  2. In your hierarchy right click and select Create Empty

  3. For that empty Object Select Add Component and select VRC Contact Receiver

  4. Next you decided what the contact will be for, in these case we are making a "boop" contact receiver for when someone touches your nose with a finger contact

  5. Name the parameter appropriately if you do this for multiple avatars you will want to use the same Parameter name in this case it will be "Boop"(case-sensitive)

  6. Set the Receiver Type to Constant

  7. The contact receiver will do nothing if we do not specify Collision Tags. In this case we want it to activate when touched by a Finger contact. So we would click Add and select finger

  8. In TTS Voice Wizard need to add the parameter. Since we named it "Boop" we will name the Counter Avatar Parameter in TTS Voice Wizard /avatar/parameters/Boop. The Message box can be anything but here is a good example 🫵 Boops: {counter} where {counter} is the actual number that is incremented.

image

  1. If you have just added a counter to an existing avatar VRChat will not understand that in terms of OSC. You can attempt using the radial menu and navigating to OSC > Reset OSC Config... although the most sure way to actually reset the OSC config is by deleting the OSC folder as detailed in OSC Troubleshooting Step 4

  2. Now you can activate the VRChat Listener, you can enable Activate VRChat Listener on Start to enable the feature automatically each time. (You still have to click the big "Activate VRChat Listener button* the first time).

image

Using AFK Message

  1. Activate the VRChat Listener, you can enable Activate VRChat Listener on Start to enable the feature automatically each time. (You still have to click the big "Activate VRChat Listener button* the first time).
  2. Enable AFK Message
  3. Write a funny message
  4. go afk :p

Activating Speech to Text via Avatar

  1. Activate the VRChat Listener, you can enable Activate VRChat Listener on Start to enable the feature automatically each time. (You still have to click the big "Activate VRChat Listener button* the first time).
  2. Add a bool to your avatar for /avatar/parameters/DoSpeechToText
  3. Speech to Text will be activated whenever a bool is sent (If the method can be toggled then sending another true bool would also deactivate the speech to text)
  4. Additionally, /avatar/parameters/stt_listening is a parameter sent automatically by TTS Voice Wizard and can be used to determine if Speech to Text is currently listening or not.
Disclaimer: ONLY 1 OSC APP CAN LISTEN TO VRCHAT ON PORT 9001. IF YOU HAVE ANOTHER OSC APP OPEN THAT ALSO RECEIVES ON PORT 9001 ONLY THE APP WITH THE LISTENER FOR 9001 THAT WAS ACTIVATED FIRST WILL WORK

Need Help / Have Questions / Wanna make suggestions?

Donate

  • Leave me a Github Star ⭐ (it's free) or

Buy Me a Coffee at ko-fi.com

Clone this wiki locally