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
fix channel names authored Apr 23, 2022 by Wim Taymans's avatar Wim Taymans
Hide whitespace changes
Inline Side-by-side
Simple-audio-post-processing.md
View page @ 2008b922
......@@ -11,7 +11,7 @@ This approach leverages PipeWire's abilities to act as a JACK daemon and uses co
1. Install `JConvolver`.
2. Create a 7 channel PulseAudio sink:
```bash
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] }'
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,RL,SL,FC,FR,RR,SR] }'
```
3. Create the `~/virtual-surround/` directory:
```
......@@ -45,13 +45,13 @@ mkdir ~/virtual-surround/
# num port name connect to
# -------------------------------------------------------------------------
/input/name 1 Input.FL "hrir-headphones:monitor_FL"
/input/name 2 Input.BL "hrir-headphones:monitor_BLC" #5.1
/input/name 2 Input.RL "hrir-headphones:monitor_RL" #5.1
/input/name 3 Input.SL "hrir-headphones:monitor_SL" #7.1
/input/name 4 Input.FC "hrir-headphones:monitor_FC" # 3.1
/input/name 5 Input.FR "hrir-headphones:monitor_FR"
/input/name 6 Input.BR "hrir-headphones:monitor_BRC" #5.1
/input/name 6 Input.RR "hrir-headphones:monitor_RR" #5.1
/input/name 7 Input.SR "hrir-headphones:monitor_SR" #7.1
......@@ -113,7 +113,7 @@ After=pipewire-pulse.service
Type=simple
StandardOutput=journal
Environment="PIPEWIRE_LATENCY=1024/48000"
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] }'
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,RL,SL,FC,FR,RR,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
......
Clone repository

Home

  • FAQ

  • Configuration

    • PipeWire
    • Client
    • JACK
    • PulseAudio
    • Devices
    • Virtual Devices
    • Filter Chain
    • Network Support
    • Development
    • Performance
  • Troubleshooting

  • Migrating

    • JACK
    • PulseAudio
  • Info

    • Access Control
    • Limitations in 0.3
    • Performance
    • Sandboxing
    • SPA
  • TODO

  • Ideas

    • Audio Support
    • JACK
    • PulseAudio
    • Simple API
    • Video Support
  • Events

    • Berlin PW+libcamera Hackfest - May 2022