You are not logged in.

#1 2024-09-27 13:12:14

maeln
Member
Registered: 2024-09-27
Posts: 2

[SOLVED]Pipewire Operation not supported when trying to use filter cha

Hello,

I have been trying to add a noise gate (from a ladspa plugin, ZamGate) to my microphone, on pipewire, using the filter chain feature (see the doc).

In my ~/.config/pipewire I copy-pasted the pipewire.conf from /usr/share/pipewire.
I then added, in the same directory, a noise.conf file with the following content:

context.modules = [
    { name = libpipewire-module-filter-chain
        flags = [ nofail ]
        args = {
            node.description = "Noise Gate"
            media.name       = "Noise Gate"
            filter.graph = {
                nodes = [
                    {
                        type   = ladspa
                        name   = zamgate
                        plugin = "/usr/lib/ladspa/ZamGate-ladspa.so"
                        label  = "ZamGate"
                        control = {
                            "Threshold" -30.0
                        }
                    }
                ]
                inputs = [ "Audio Input 1" ]
                outputs = [ "Audio Output 1" ]
            }
            
            capture.props = {
                node.name = "effect_input.zamgate"
                media.class 	= Audio/Sink
                node.passive = 1
                audio.position = [ FL FR ]
            }
            playback.props = {
                node.name = "effect_output.zamgate"
                media.class = Audio/Source
                node.passive = 1                
                audio.position = [ FL FR ]
            }
        }
    }
]

But when I try to test the config with pipewire -c noise.conf, I get the following error:

[E][39543.018144] pw.core      | [          core.c:  373 core_new()] 0x635a4f30b960: can't find protocol 'PipeWire:Protocol:Native': Operation not supported
[E][39543.018307] mod.filter-chain | [module-filter-ch: 3108 pipewire__module_init()] can't connect: Operation not supported

If I try to add the command to the context.exec in the pipewire.conf and then do a systemctl --user restart piprewire, I get the same error at the start.

The filter / virtual device does not show either, so i can't use the noise gate.

Does anyone know what this error mean ? I couldn't find any info. I use wireplumber as the session manager.

Last edited by maeln (2024-09-30 09:55:59)

Offline

#2 2024-09-30 09:54:39

maeln
Member
Registered: 2024-09-27
Posts: 2

Re: [SOLVED]Pipewire Operation not supported when trying to use filter cha

Ok, so I move the content from the noise.conf file directly in pipewire.conf (in context.modules) and it is working flawlessly ?

Offline

Board footer

Powered by FluxBB