Skip to content

Scripts for ALVR that help with getting audio to play on Linux.

License

Notifications You must be signed in to change notification settings

Rosentti/ALVR-audio

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 

Repository files navigation

ALVR Audio Script

Script for ALVR that helps with getting audio to play on Linux.

Note: Microphone might work out of the box, but might require some tweaking. Important Note: I'm not actively using VR on Linux so I cannot really troubleshoot issues with this. If you are experienced enough, you can try to edit this so it works for your use case. In the future this script may not be necessary if ALVR gets pipewire or pulseaudio support.

Requirements

  • pipewire
  • pipewire-jack
  • pipewire-pulse
  • qjackctl

Usage

Before starting ALVR, run this script and make sure QJackCtl has started and connected. image

First time usage

Start this script. Once QJackCtl starts, go to "Setup -> Options -> Patchbay Persistance".

Set the patchbay persistence file to alvr.xml (which comes with this repo), then apply your changes. image

Go to the patchbay and click activate if persistence isn't on already. image

Close QJackCtl and restart this script.

Then, open ALVR, go to Audio, set the playback device to "jack". image

Microphone (experimental and possibly very broken)

If you want to try the microphone, set the first device to "surround21:CARD=Loopback,DEV=0", and the second device to "surround21:CARD=Loopback,DEV=1".

Afterwards, you might need to configure pulseaudio to make the loopback device Surround 2.1 Input + Surround 2.1 Output. (Some games probably don't like surround microphones, needs a better solution)

If you find a cleaner solution to the microphone issue, please open an issue or maybe even a pull request.

About

Scripts for ALVR that help with getting audio to play on Linux.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages