sboys3 / MusicSpatializer

Spatialized audio for Beatsaber
11 stars 0 forks source link
beatsaber

Music Spatializer

This plugin for Beat Saber uses the included spatializer in beat saber for the music. Headphones are required to hear the effects of this. The audio responds to head movements and sounds more real. The saber noises already use it but the music is piped directly into your headphones by default. This captures the audio from the original audio source and sends it to separate left and right spatialized audio sources. There is also a third audio source that uses Unity's built in resonance zones to provide a bit of echo. In 360 maps the audio sources follow the score board and therefor the notes. There is also an option to enable a slight bass boost by adding a virtual subwoofer.

Dependencies: BSIPA and BSML

Building

  1. Download or clone to get a local copy
  2. Edit bslink.bat to point to a BeatSaber installation or set BeatSaberDir in project.csproj.user
  3. If you did not set BeatSaberDir in project.csproj.user, run bslink.bat as administrator to create a folder symlink to your BeatSaber installation
  4. Open spatializer.sln in in visual studio 2019
  5. Change the configuration from Debug to Release and Change the target from Any Cpu to x64
  6. Build solution(ctrl+shift+b)

Steps 2 and 3 only need to be done if you have not already created the beatsaber directory link before.