... | ... | @@ -26,6 +26,10 @@ stream.properties = { |
|
|
#channelmix.mix-lfe = false
|
|
|
#channelmix.upmix = false
|
|
|
#channelmix.lfe-cutoff = 0
|
|
|
#channelmix.fc-cutoff = 0
|
|
|
#channelmix.rear-delay = 12.0
|
|
|
#channelmix.stereo-widen = 0.0
|
|
|
#channelmix.hilbert-taps = 0
|
|
|
}
|
|
|
```
|
|
|
|
... | ... | @@ -33,11 +37,27 @@ PipeWire performs most of the sample conversions and resampling in the client (O |
|
|
|
|
|
Below is an explanation of the options that can be tuned in the sample converter.
|
|
|
|
|
|
````
|
|
|
resample.quality = 4
|
|
|
````
|
|
|
|
|
|
The resampler quality in use. This is a value between 0 and 14 with 14 the highest quality.
|
|
|
|
|
|
Increasing the quality will result in better cutoff and less aliasing at the expense of
|
|
|
(much) more CPU consumption. The default quality of 4 has been selected as a good compromise
|
|
|
between quality and performance with no artifacts that are well below the audible range.
|
|
|
|
|
|
See [Infinite Wave](https://src.infinitewave.ca/) for a comparison of the performance.
|
|
|
|
|
|
|
|
|
````
|
|
|
channelmix.normalize
|
|
|
````
|
|
|
Makes sure that during such mixing & resampling original 0 dB level is preserved, so nothing sounds wildly quieter/louder.
|
|
|
|
|
|
While this options prevents clipping, it can in some cases produce too low volume. Increase the
|
|
|
volume in that case or disable normalization.
|
|
|
|
|
|
````
|
|
|
channelmix.mix-lfe
|
|
|
````
|
... | ... | @@ -46,11 +66,47 @@ Mixes the low frequency effect channel into the front center or stereo pair. Thi |
|
|
````
|
|
|
channelmix.upmix
|
|
|
````
|
|
|
Upmixing is not enabled by default. You can set `channel.upmix` to `true` to enable a simple upmixing algorithm. The algorithm will duplicate the channels to the side and rear positions.
|
|
|
Upmixing of the front center (FC) is always performed when the target has a FC channel.
|
|
|
|
|
|
Upmixing of LFE is always done when `channelmix.lfe-cutoff` is set to something else that 0.
|
|
|
|
|
|
Upmixing of the rear and side channels is disabled by default and can be enabled when the
|
|
|
`channelmix.upmix` property is set to `true`.
|
|
|
|
|
|
Upmixing of the rear channels will use the stereo difference (ambient sound).
|
|
|
|
|
|
````
|
|
|
channelmix.lfe-cutoff
|
|
|
````
|
|
|
Apply a lowpass filter to the low frequency effects. The value is expressed in Hz. Typical subwoofers have a cutoff at around 150 and 200. This option is only enabled when upmixing is selected. The default value of 0 disables the feature.
|
|
|
Apply a lowpass filter to the low frequency effects. The value is expressed in Hz. Typical subwoofers have a cutoff at around 150 and 200. The default value of 0 disables the feature.
|
|
|
|
|
|
```
|
|
|
channelmix.fc-cutoff
|
|
|
```
|
|
|
Apply a lowpass filter to the front center frequency. The value is expressed in Hz.
|
|
|
|
|
|
Since the front center contains the dialogs, a typical cutoff frequency is 4000 Hz.
|
|
|
|
|
|
```
|
|
|
channelmix.rear-delay = 12.0
|
|
|
```
|
|
|
|
|
|
Apply a delay when upmixing the rear channels. This improves spacialization of the sound.
|
|
|
A typical delay of 12 milliseconds is the default.
|
|
|
|
|
|
|
|
|
```
|
|
|
channelmix.stereo-widen = 0.0
|
|
|
```
|
|
|
|
|
|
Subtracts some of the front center signal from the stereo channels. This moves the dialogs
|
|
|
more to the center speaker and leaves the ambient sound in the stereo channels.
|
|
|
|
|
|
```
|
|
|
channelmix.hilbert-taps = 0
|
|
|
```
|
|
|
When `channelmix.upmix` is `true`, this option will apply a 90 degree phase shift to the
|
|
|
rear channels to improve spacialization. Taps needs to be between 15 and 255 with more
|
|
|
accurate results (and more CPU consumption) for higher values.
|
|
|
|
|
|
# Streams |
|
|
\ No newline at end of file |
|
|
# Streams |