Guest User

Untitled

a guest
Oct 22nd, 2025
56
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.06 KB | Software | 0 0
  1. context.modules = [
  2. { name = libpipewire-module-filter-chain
  3. flags = [ nofail ]
  4. args = {
  5. node.description = "Noise Canceling Mic"
  6. media.name = "Noise Canceling Mic"
  7. filter.graph = {
  8. nodes = [
  9. {
  10. type = ladspa
  11. name = deepfilter
  12. plugin = /usr/lib/ladspa/libdeep_filter_ladspa.so
  13. label = deep_filter_stereo
  14. control = {
  15. "Attenuation Limit (dB)" = 100
  16. "Min processing threshold (dB)" = -10
  17. "Max ERB processing threshold (dB)" = 30
  18. "Max DF processing threshold (dB)" = 20
  19. "Min Processing Buffer (frames)" = 0
  20. "Post Filter Beta" = 0.02
  21. }
  22. }
  23. {
  24. type = ladspa
  25. name = gate
  26. plugin = /usr/lib/ladspa/lsp-plugins-ladspa.so
  27. label = "http://lsp-plug.in/plugins/ladspa/gate_stereo"
  28. control = {
  29. "Attack (ms)" = 1
  30. "Release (ms)" = 150
  31. }
  32. }
  33. {
  34. type = ladspa
  35. name = expander
  36. plugin = /usr/lib/ladspa/lsp-plugins-ladspa.so
  37. label = "http://lsp-plug.in/plugins/ladspa/expander_stereo"
  38. control = {
  39. "Attack time (ms)" = 8
  40. "Release time (ms)" = 80
  41. "Sidechain preamp (G)" = 23
  42. }
  43. }
  44. {
  45. type = ladspa
  46. name = compressor
  47. plugin = /usr/lib/ladspa/lsp-plugins-ladspa.so
  48. label = "http://lsp-plug.in/plugins/ladspa/compressor_stereo"
  49. control = {
  50. "Attack time (ms)" = 8
  51. "Release time (ms)" = 80
  52. }
  53. }
  54. {
  55. type = ladspa
  56. name = limiter
  57. plugin = /usr/lib/ladspa/lsp-plugins-ladspa.so
  58. label = "http://lsp-plug.in/plugins/ladspa/limiter_stereo"
  59. control = {
  60. "Sidechain preamp (G)" = 2.5
  61. }
  62. }
  63. ]
  64. links = [
  65. { output = "deepfilter:Audio Out L" input = "gate:Input L"}
  66. { output = "deepfilter:Audio Out R" input = "gate:Input R"}
  67.  
  68. { output = "gate:Output L" input = "expander:Input L"}
  69. { output = "gate:Output R" input = "expander:Input R"}
  70.  
  71. { output = "expander:Output L" input = "compressor:Input L"}
  72. { output = "expander:Output R" input = "compressor:Input R"}
  73.  
  74. { output = "compressor:Output L" input = "limiter:Input L"}
  75. { output = "compressor:Output R" input = "limiter:Input R"}
  76. ]
  77. inputs = ["deepfilter:Audio In L" "deepfilter:Audio In R"]
  78. outputs = ["limiter:Output L" "limiter:Output R"]
  79. }
  80. audio.rate = 48000
  81. audio.channels = 2
  82. audio.position = [FL FR]
  83. capture.props = {
  84. node.name = "capture.mic_noisecanceling_source"
  85. node.passive = true
  86. audio.rate = 48000
  87. }
  88. playback.props = {
  89. node.name = "mic_noisecanceling_source"
  90. media.class = Audio/Source
  91. audio.rate = 48000
  92. }
  93. }
  94. }
  95. ]
  96.  
Advertisement
Add Comment
Please, Sign In to add comment