Get the BPM of the music you're listening to on Spotify, and sending it to VRChat over OSC with Python.
VRCOSCBPM ISN'T ABLE TO ACCESS YOUR SPOTIFY ACCOUNT, PENDING SPOTIFY GRANTING SAID ACCESS. PLEASE BE PATIENT WHILE THE SPOTIFY DEVELOPERS GRANT ACCESS.
Upon first launch, you're going to need to authorize VRCOSCBPM to access your Spotify account! This is done by hitting the "authorize" button in your browser, THEN copy-pasting the URL it takes you to back into the app.
At that point, it should be good to go, and you shouldn't need to reauthorize.
The vrcoscbpm.cfg file contains configuration parameters:
• IP
• Port
Where OSC messages will be sent to. "127.0.0.1:9000" is the default VRChat is listening to.
• avatar_parameter_path
The path OSC messages will be sent upon. "/avatar/parameters/BPM" will send a float between 0 and 1 to a parameter called "BPM" on your avatar.
• animation_bpm
The BPM, tempo, etc, of the animation you are trying to drive.
When you first launch, this will appear:
and then your browser will open to an authorization page:
hit "Authorize", and you'll be redirected right here! now, copy the very long URL in your address bar back into the program, and hit enter:
then it any button to build the tekore configuration, and when built, hit it again to start the program:
You're now authorized! Just start up VRCOSCBPM and it should start sending your BPM immidiately!