|
|
|
|
|
[[_TOC_]]
|
|
|
|
|
|
# Upmixing
|
|
|
|
|
|
PipeWire does by default not upmix stereo audio to multichannel 5.1 or 7.1
|
|
|
audio because the default behaviour should be to route the audio as is and not
|
|
|
apply filters to the audio.
|
|
|
|
|
|
You need to manually enable umixing in PulseAudio clients, Native PipeWire clients
|
|
|
and bluetooth devices.
|
|
|
|
|
|
## PulseAudio
|
|
|
|
|
|
To enable upmixing for PulseAudio clients, make a file
|
|
|
`~/.config/pipewire/pipewire-pulse.conf.d/40-upmix.conf` with the content:
|
|
|
```
|
|
|
# Enables upmixing
|
|
|
stream.properties = {
|
|
|
channelmix.upmix = true
|
|
|
channelmix.upmix-method = psd
|
|
|
channelmix.lfe-cutoff = 150
|
|
|
channelmix.fc-cutoff = 12000
|
|
|
channelmix.rear-delay = 12.0
|
|
|
}
|
|
|
```
|
|
|
|
|
|
And restart the pipewire-pulse server.
|
|
|
|
|
|
## Native clients
|
|
|
|
|
|
To enable upmixing for Native clients, make a file
|
|
|
`~/.config/pipewire/client-rt.conf.d/40-upmix.conf` and
|
|
|
`~/.config/pipewire/client.conf.d/40-upmix.conf` with the content:
|
|
|
```
|
|
|
# Enables upmixing
|
|
|
stream.properties = {
|
|
|
channelmix.upmix = true
|
|
|
channelmix.upmix-method = psd
|
|
|
channelmix.lfe-cutoff = 150
|
|
|
channelmix.fc-cutoff = 12000
|
|
|
channelmix.rear-delay = 12.0
|
|
|
}
|
|
|
```
|
|
|
|
|
|
And restart the pipewire client.
|
|
|
|
|
|
## Bluetooth devices
|
|
|
|
|
|
When pipewire is used as a Bluetooth receiver (Speaker) the incomming stereo
|
|
|
signal can be upmixed to multichannel.
|
|
|
|
|
|
To enable upmixing for Bluetooth input, make a file
|
|
|
`~/.config/wireplumber/wireplumber.conf.d/40-upmix.conf with the content:
|
|
|
```
|
|
|
# Enables upmixing
|
|
|
stream.properties = {
|
|
|
channelmix.upmix = true
|
|
|
channelmix.upmix-method = psd
|
|
|
channelmix.lfe-cutoff = 150
|
|
|
channelmix.fc-cutoff = 12000
|
|
|
channelmix.rear-delay = 12.0
|
|
|
}
|
|
|
```
|
|
|
|
|
|
And restart Wireplumber. |