filter-chain: add convolver

This commit is contained in:
Wim Taymans 2021-08-10 12:26:31 +02:00
parent b4976728c3
commit 67eb485811
10 changed files with 1330 additions and 2 deletions

View file

@ -0,0 +1,54 @@
# Convolver sink
#
# start with pipewire -c filter-chain/sink-convolver.conf
#
context.properties = {
log.level = 0
}
context.spa-libs = {
audio.convert.* = audioconvert/libspa-audioconvert
support.* = support/libspa-support
}
context.modules = [
{ name = libpipewire-module-rtkit
args = {
#nice.level = -11
#rt.prio = 88
#rt.time.soft = 2000000
#rt.time.hard = 2000000
}
flags = [ ifexists nofail ]
}
{ name = libpipewire-module-protocol-native }
{ name = libpipewire-module-client-node }
{ name = libpipewire-module-adapter }
{ name = libpipewire-module-filter-chain
args = {
node.name = "effect_output.convolver"
node.description = "Convolver Sink"
media.name = "Convolver Sink"
filter.graph = {
nodes = [
{
type = builtin
name = convolver
label = convolver
}
]
}
capture.props = {
media.class = Audio/Sink
audio.channels = 2
audio.position = [ FL FR ]
}
playback.props = {
node.passive = true
audio.channels = 2
audio.position = [ FL FR ]
}
}
}
]