Skip to content

Getting the BPM of what you're listening to on Spotify, and sending it to VRC over OSC.

License

Notifications You must be signed in to change notification settings

choccccy/VRCOSCBPM

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

25 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

VRCOSCBPM

Get the BPM of the music you're listening to on Spotify, and sending it to VRChat over OSC with Python.

Download

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.

Configuration

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.

Spotify Authorization

When you first launch, this will appear:

image

and then your browser will open to an authorization page:

image

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:

image

then it any button to build the tekore configuration, and when built, hit it again to start the program:

image

You're now authorized! Just start up VRCOSCBPM and it should start sending your BPM immidiately!

About

Getting the BPM of what you're listening to on Spotify, and sending it to VRC over OSC.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages