Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # Convolver sink
- #
- # start with pipewire -c pipewire_crossover.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 = "crossover"
- node.description = "crossover Sink"
- media.name = "crossover Sink"
- filter.graph = {
- nodes = [
- # duplicate inputs
- { type = builtin label = copy name = copyFL }
- { type = builtin label = copy name = copyFR }
- # convolving
- { type = builtin label = convolver name = convHP_L config = { filename = "/home/studio/production/DRC/HP-brick-4096.wav" channel = 0 } }
- { type = builtin label = convolver name = convHP_R config = { filename = "/home/studio/production/DRC/HP-brick-4096.wav" channel = 0 } }
- { type = builtin label = convolver name = convLP_L config = { filename = "/home/studio/production/DRC/LP-brick-4096.wav" channel = 0 } }
- { type = builtin label = convolver name = convLP_R config = { filename = "/home/studio/production/DRC/LP-brick-4096.wav" channel = 0 } }
- # outputs
- { type = builtin label = mixer name = mixL }
- { type = builtin label = mixer name = mixR }
- { type = builtin label = mixer name = mixLFE }
- ]
- links = [
- # input
- { output = "copyFL:Out" input = "convHP_L:In" }
- { output = "copyFR:Out" input = "convHP_R:In" }
- { output = "copyFL:Out" input = "convLP_L:In" }
- { output = "copyFR:Out" input = "convLP_r:In" }
- # output
- { output = "convHP_L:Out" input = "mixL:In 1" }
- { output = "convHP_R:Out" input = "mixR:In 1" }
- { output = "convLP_L:Out" input = "mixLFE:In 1" }
- { output = "convLP_R:Out" input = "mixLFE:In 2" }
- ]
- inputs = [ "copyFL:In" "copyFR:In" ]
- outputs = [ "mixL:Out" "mixR:Out" "mixLFE:Out" ]
- }
- capture.props = {
- media.class = Audio/Sink
- audio.channels = 2
- audio.position = [ FL FR ]
- }
- playback.props = {
- node.passive = true
- audio.channels = 3
- audio.position = [ FL FR LFE ]
- }
- }
- }
- ]
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement