You are not logged in.

#1 2021-04-23 03:50:26

suson
Member
Registered: 2018-12-23
Posts: 24

[SOLVED] Pipwire channelmix lfe issue

My laptop is Asus N551 and comes with external subwoofer.

I had previously used pipewire due to pulseeffects dependency but couldn't get the subwoofer working. So I went back to pulseaudio and used older version of pulseeffects available in AUR.

Today I tried it again and I was able to get the subwoofer working with the following in /etc/pipwire/pipewire-pulse.conf

context.modules = [
    {   name = libpipewire-module-rtkit
        args = {
            #nice.level   = -11
            #rt.prio      = 88
            #rt.time.soft = 200000
            #rt.time.hard = 200000
        }
        flags = [ ifexists nofail ]
    }
    {   name = libpipewire-module-protocol-native }
    {   name = libpipewire-module-client-node }
    {   name = libpipewire-module-adapter }
    {   name = libpipewire-module-metadata }

    {   name = libpipewire-module-protocol-pulse
        args = {
            # the addresses this server listens on
            server.address = [
                "unix:native"
                # "tcp:4713"
            ]
            #pulse.min.req = 256/48000              # 5ms
            #pulse.default.req = 960/48000          # 20 milliseconds
            #pulse.min.frag = 256/48000             # 5ms
            #pulse.default.frag = 96000/48000       # 2 seconds
            #pulse.default.tlength = 96000/48000    # 2 seconds
            #pulse.min.quantum = 256/48000          # 5ms
            #pulse.default.format = F32
            pulse.default.position = [ FL FR LFE ]
            # These overrides are only applied when running in a vm.
            vm.overrides = {
                pulse.min.quantum = 1024/48000         # 22ms
            }
        }
    }
]

stream.properties = {
    #node.latency = 1024/48000
    #node.autoconnect = true
    #resample.quality = 4
    channelmix.normalize = true
    channelmix.mix-lfe = true
    channelmix.upmix = true
    channelmix.lfe-cutoff = 250
}

I think the channelmix.lfe-cufoff is not working. If I understand correctly this is equivalent to lfe-crossover-freq = 250 which I maybe wrong. The subwoofer is playing all the frequencies like human voices instead of the bass only.
Can anyone help me ?

Last edited by suson (2021-05-08 03:14:42)

Offline

#2 2021-05-08 03:13:46

suson
Member
Registered: 2018-12-23
Posts: 24

Re: [SOLVED] Pipwire channelmix lfe issue

The channelmix.lfe-cutoff is fixed in the pipewire 0.3.27. For channel mixing to work with pulseeffects we also need to change the /etc/pipewire/client.conf as pulseeffects is native client and uses that file.

/etc/pipewire/client.conf

stream.properties = {
    #node.latency = 1024/48000
    #node.autoconnect = true
    #resample.quality = 4
    # channelmix.normalize = true
    # channelmix.mix-lfe = true
    channelmix.upmix = true
    channelmix.lfe-cutoff = 250
}

Offline

Board footer

Powered by FluxBB