... | @@ -97,3 +97,22 @@ pw-jack jconvolver -s pipewire-0 ~/virtual-surround/gsx-jconvolver.config |
... | @@ -97,3 +97,22 @@ pw-jack jconvolver -s pipewire-0 ~/virtual-surround/gsx-jconvolver.config |
|
Enjoy virtual surround in your headphones.
|
|
Enjoy virtual surround in your headphones.
|
|
|
|
|
|
Note that you'll need to re-create the PulseAudio sink (step 2) and start `jconvolver` (step 6) after every login.
|
|
Note that you'll need to re-create the PulseAudio sink (step 2) and start `jconvolver` (step 6) after every login.
|
|
|
|
|
|
|
|
If you want to have that automated, use the following systemd unit definition in `~/.config/systemd/user/surround-headphones.service`:
|
|
|
|
```
|
|
|
|
[Unit]
|
|
|
|
Description="7 channel Virtual Surround Sink"
|
|
|
|
After=pipewire-pulse.service
|
|
|
|
|
|
|
|
[Service]
|
|
|
|
Type=simple
|
|
|
|
StandardOutput=journal
|
|
|
|
ExecStartPre=pw-cli create-node adapter '{ factory.name=support.null-audio-sink node.name=hrir-headphones media.class=Audio/Sink object.linger=1 audio.position=FL,BL,SL,FC,FR,BR,SR }'
|
|
|
|
ExecStart=pw-jack jconvolver /home/username/virtual-surround/gsx-jconvolver.config
|
|
|
|
ExecStopPost=/usr/bin/bash -c "pw-cli destroy `pw-cli dump short Node|grep hrir-headphones|awk -F: '{print $1}'`"
|
|
|
|
RestartSec=5
|
|
|
|
Restart=on-failure
|
|
|
|
|
|
|
|
[Install]
|
|
|
|
WantedBy=multi-user.target
|
|
|
|
``` |
|
|
|
\ No newline at end of file |