Modify pulseaudio


I have developed a BirdNET-Pi addon to detect birds based on the homeassistant’s sound input and wanted to manipulate the pulseaudio server. It maps HA’s pulseaudio server through the “audio” config.json key to use HA’s audio input.

Is there a way to introduce a highpass filter in the pulseaudio input, preferably from the BirdNET-Pi addon itself but possibly from CLI ?

I have managed to install a echo-cancel module by modifying with command line the /etc/pulse/system.d but it is not remanent, and is not convenient for addon users.