Skip to content
GitLab
  • Menu
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • pipewire pipewire
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 469
    • Issues 469
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 17
    • Merge requests 17
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages & Registries
    • Packages & Registries
    • Container Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • PipeWire
  • pipewirepipewire
  • Wiki
  • Simple audio post processing

Simple audio post processing · Changes

Page history
Add system unit example to (re)start JConvolver in Simple audio post processing authored Feb 19, 2021 by Matyas B's avatar Matyas B
Hide whitespace changes
Inline Side-by-side
Simple-audio-post-processing.md
View page @ e167052c
......@@ -97,3 +97,22 @@ pw-jack jconvolver -s pipewire-0 ~/virtual-surround/gsx-jconvolver.config
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.
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
Clone repository
  • Access control
  • Audio support
  • Config Devices
  • Config JACK
  • Config PipeWire
  • Config PulseAudio
  • Config client
  • Development
  • FAQ
  • Filter Chain
  • Hackfest berlin 22 05
  • Home
  • Ideas
  • JACK
  • Limitations in 0.3
View All Pages