Volume Normalizing through filter chain doesnt work
- PipeWire version: libpipewire 0.3.57
- Distribution: Arch Linux
- Desktop Environment: Gnome 42.4
- Kernel version: 5.19.7-zen2-1-zen
Description of Problem:
When attempting to setup Volume Normalizing through a filter chain it creates the Sink but the Sink does nothing
When adding this to the pipewire-pulse.conf context.exec = [ or running from terminal the associated commands it works as expected
{ path = "pactl" args = "load-module module-ladspa-sink sink_name=Normalizer master=alsa_output.usb-MOTU_M4_M40000066088-00.HiFi__m4_stereo_out_M4_0_2_3__sink plugin=sc4_1882 label=sc4 control=1,1.5,401,-12,6,5,12" }
{ path = "pactl" args = "load-module module-ladspa-sink sink_name=Normalized master=Normalizer plugin=fast_lookahead_limiter_1913 label=fastLookaheadLimiter control=5,-10,0.8" }
Pipewire doesnt give me any complaints about it just nothing happens when i set it up through a filter chain.
How to Reproduce:
put normalize.conf in filter-chain.conf.d
normalize.conf contains this with node.target set to appropriate output or possibly removed (may not be needed for some?)
context.modules = [
{ name = libpipewire-module-filter-chain
args = {
node.description = "Normalize Sink"
media.name = "Normalize Sink"
filter.graph = {
nodes = [
{
type = ladspa
name = sc4
plugin = sc4_1882
label = sc4
control = { "RMS/peak" = 1 "Attack time (ms)" = 1.5 "Release time (ms)" = 401 "Threshold level (db)" = -12 "Ratio (1:n)" = 6 "Knee radius (db)" = 5 "Makeup gain (db)" = 12 }
}
{
type = ladspa
name = limiter
plugin = fast_lookahead_limiter_1913
label = fastLookaheadLimiter
control = { "Input gain (db)" = 5 "Limit (db)" = -10 "Release time (s)" = 0.8 }
}
]
links = [
{ output = "sc4:Left output" input = "limiter:Input 1" }
{ output = "sc4:Right output" input = "limiter:Input 2" }
]
inputs = [ "sc4:Left input" "sc4:Right input"]
outputs = [ "limiter:Output 1" "limiter:Output 2" ]
}
capture.props = {
node.name = "effect_input.normalize"
media.class = "Audio/Sink"
audio.channels = 2
audio.position = [ FL FR ]
}
playback.props = {
node.name = "effect_output.normalize"
node.passive = true
audio.channels = 2
audio.position = [ FL FR ]
node.target = "alsa_output.usb-MOTU_M4_M40000066088-00.HiFi__m4_stereo_out_M4_0_2_3__sink"
}
}
}
]
set audio output sink to the Normalize Sink and play sound to test output
Actual Results:
Audio will play, but fails to normalize/process the audio and simply works exactly like setting the normal output sink with no change
Expected Results:
Audio gets normalized