Guest User

Untitled

a guest
Oct 22nd, 2025
30
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.92 KB | Software | 0 0
  1. context.modules = [
  2. { name = libpipewire-module-filter-chain
  3. flags = [ nofail ]
  4. args = {
  5. node.description = "Voice Chat Headphones"
  6. media.name = "Voice Chat Headphones"
  7. filter.graph = {
  8. nodes = [
  9. {
  10. type = ladspa
  11. name = rnnoise
  12. plugin = /usr/lib/ladspa/librnnoise_ladspa.so
  13. label = noise_suppressor_stereo
  14. control = {
  15. "VAD Threshold (%)" = 85.0
  16. "VAD Grace Period (ms)" = 200
  17. "Retroactive VAD Grace (ms)" = 0
  18. }
  19. }
  20. {
  21. type = ladspa
  22. name = gate2
  23. plugin = /usr/lib/ladspa/lsp-plugins-ladspa.so
  24. label = "http://lsp-plug.in/plugins/ladspa/gate_stereo"
  25. control = {
  26. }
  27. }
  28. {
  29. type = ladspa
  30. name = expander2
  31. plugin = /usr/lib/ladspa/lsp-plugins-ladspa.so
  32. label = "http://lsp-plug.in/plugins/ladspa/expander_stereo"
  33. control = {
  34. "Attack time (ms)" = 8
  35. "Release time (ms)" = 80
  36. "Sidechain preamp (G)" = 72
  37. }
  38. }
  39. {
  40. type = ladspa
  41. name = compressor2
  42. plugin = /usr/lib/ladspa/lsp-plugins-ladspa.so
  43. label = "http://lsp-plug.in/plugins/ladspa/compressor_stereo"
  44. control = {
  45. "Attack time (ms)" = 8
  46. "Release time (ms)" = 80
  47. }
  48. }
  49. {
  50. type = ladspa
  51. name = limiter2
  52. plugin = /usr/lib/ladspa/lsp-plugins-ladspa.so
  53. label = "http://lsp-plug.in/plugins/ladspa/limiter_stereo"
  54. control = {
  55. "Sidechain preamp (G)" = 3.1
  56. }
  57. }
  58. ]
  59. links = [
  60. { output = "rnnoise:Output (L)" input = "gate2:Input L"}
  61. { output = "rnnoise:Output (R)" input = "gate2:Input R"}
  62.  
  63. { output = "gate2:Output L" input = "expander2:Input L"}
  64. { output = "gate2:Output R" input = "expander2:Input R"}
  65.  
  66. { output = "expander2:Output L" input = "compressor2:Input L"}
  67. { output = "expander2:Output R" input = "compressor2:Input R"}
  68.  
  69. { output = "compressor2:Output L" input = "limiter2:Input L"}
  70. { output = "compressor2:Output R" input = "limiter2:Input R"}
  71. ]
  72. inputs = ["rnnoise:Input (L)" "rnnoise:Input (R)"]
  73. outputs = ["limiter2:Output L" "limiter2:Output R"]
  74. }
  75. audio.rate = 48000
  76. audio.channels = 2
  77. audio.position = [FL FR]
  78. capture.props = {
  79. node.name = "effect_input.supressed"
  80. media.class = Audio/Sink
  81. audio.channels = 2
  82. audio.position = [ FL FR ]
  83. audio.rate = 48000
  84. }
  85. playback.props = {
  86. node.name = "effect_output.supressed"
  87. node.passive = true
  88. audio.channels = 2
  89. audio.position = [ FL FR ]
  90. audio.rate = 48000
  91. }
  92. }
  93. }
  94. ]
  95.  
Advertisement
Add Comment
Please, Sign In to add comment