ansible/roles/music/templates/pw-bitvis-mixer.conf

49 lines
1.7 KiB
Text

# {{ ansible_managed }}
context.modules = [
{
name = libpipewire-module-filter-chain
args = {
node.description = "bitvis-mixer"
media.name = "bitvis-mixer"
filter.graph = {
nodes = [
{
name = normalize
type = ladspa
plugin = fast_lookahead_limiter_1913
label = fastLookaheadLimiter
control = {
"Input gain (dB)" = 40
"Limit (dB)" = 0
"Release time (s)" = 1
}
}
{
name = mono
type = builtin
label = mixer
}
]
links = [
{ output = "normalize:Output 1", input = "mono:In 1" }
{ output = "normalize:Output 2", input = "mono:In 2" }
]
inputs = [ "normalize:Input 1" "normalize:Input 2" ]
outputs = [ "mono:Out" ]
}
capture.props = {
node.name = "mix_input.bitvis"
audio.position = [ FL FR ]
media.class = "Audio/Sink"
}
playback.props = {
node.name = "mix_output.bitvis"
audio.position = [ FL ]
stream.dont-remix = true
node.passive = true
node.autoconnect = false
}
}
}
]