Advertisement
Guest User

Untitled

a guest
Sep 28th, 2021
56
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.20 KB | None | 0 0
  1. # Convolver sink
  2. #
  3. # start with pipewire -c pipewire_crossover.conf
  4. #
  5. context.properties = {
  6. log.level = 0
  7. }
  8.  
  9. context.spa-libs = {
  10. audio.convert.* = audioconvert/libspa-audioconvert
  11. support.* = support/libspa-support
  12. }
  13.  
  14. context.modules = [
  15. { name = libpipewire-module-rtkit
  16. args = {
  17. #nice.level = -11
  18. #rt.prio = 88
  19. #rt.time.soft = 2000000
  20. #rt.time.hard = 2000000
  21. }
  22. flags = [ ifexists nofail ]
  23. }
  24. { name = libpipewire-module-protocol-native }
  25. { name = libpipewire-module-client-node }
  26. { name = libpipewire-module-adapter }
  27.  
  28. { name = libpipewire-module-filter-chain
  29. args = {
  30. node.name = "crossover"
  31. node.description = "crossover Sink"
  32. media.name = "crossover Sink"
  33. filter.graph = {
  34. nodes = [
  35. # duplicate inputs
  36. { type = builtin label = copy name = copyFL }
  37. { type = builtin label = copy name = copyFR }
  38.  
  39.  
  40. # convolving
  41. { type = builtin label = convolver name = convHP_L config = { filename = "/home/studio/production/DRC/HP-brick-4096.wav" channel = 0 } }
  42. { type = builtin label = convolver name = convHP_R config = { filename = "/home/studio/production/DRC/HP-brick-4096.wav" channel = 0 } }
  43. { type = builtin label = convolver name = convLP_L config = { filename = "/home/studio/production/DRC/LP-brick-4096.wav" channel = 0 } }
  44. { type = builtin label = convolver name = convLP_R config = { filename = "/home/studio/production/DRC/LP-brick-4096.wav" channel = 0 } }
  45.  
  46.  
  47.  
  48. # outputs
  49. { type = builtin label = mixer name = mixL }
  50. { type = builtin label = mixer name = mixR }
  51. { type = builtin label = mixer name = mixLFE }
  52. ]
  53. links = [
  54. # input
  55. { output = "copyFL:Out" input = "convHP_L:In" }
  56. { output = "copyFR:Out" input = "convHP_R:In" }
  57. { output = "copyFL:Out" input = "convLP_L:In" }
  58. { output = "copyFR:Out" input = "convLP_r:In" }
  59.  
  60.  
  61.  
  62. # output
  63. { output = "convHP_L:Out" input = "mixL:In 1" }
  64. { output = "convHP_R:Out" input = "mixR:In 1" }
  65. { output = "convLP_L:Out" input = "mixLFE:In 1" }
  66. { output = "convLP_R:Out" input = "mixLFE:In 2" }
  67.  
  68.  
  69. ]
  70. inputs = [ "copyFL:In" "copyFR:In" ]
  71. outputs = [ "mixL:Out" "mixR:Out" "mixLFE:Out" ]
  72. }
  73. capture.props = {
  74. media.class = Audio/Sink
  75. audio.channels = 2
  76. audio.position = [ FL FR ]
  77. }
  78. playback.props = {
  79. node.passive = true
  80. audio.channels = 3
  81. audio.position = [ FL FR LFE ]
  82. }
  83. }
  84. }
  85. ]
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement