Skip Navigation
Jump
7.1 virtual surround sound with any headphones
  • (I don't see comments below the post - only saw this in my inbox right now?)

    Aha, I did the change manually, forgetting that sed would substitute the var. Would be great if Pipewire was aware of environment variables, but that's not an issue to complain about here I guess :)

    1
  • Jump
    7.1 virtual surround sound with any headphones
  • The config file doesn't seem to support environment variables: for me it throws an error in the logs when i use the ${HOME} variable.

    I can't find any docs on if it supports any environment vars - does it work for you?

    1
  • Jump
    7.1 virtual surround sound with any headphones
  • Thanks, the PIPEWIRE_DEBUG=3 thing showed what's wrong: it uses a relative path to find the atmos.wav, so when I changed to use an absolute path it worked.

    It might have something to do with my .config/pipewire directory being a symlink to my dotfiles, but now I know that it works! Thanks again :)

    1
  • Jump
    7.1 virtual surround sound with any headphones
  • Hey, thank you so much for this!

    I seem to be misunderstanding some step though: I have copy-pasted the steps above and put the atmos.wav file in the hrir directory, but I don't get any sound in my headphones when I select the Virtual Surround sink with connected headphones? I get sound when I select the regular Headphone device.

    Is this meant to work out of the box when I connect my headphones in the regular jack on my laptop, or does it only work with a USB DAC?

    1