forked from Rikorose/DeepFilterNet
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdeepfilter-mono-source.conf
53 lines (52 loc) · 1.91 KB
/
deepfilter-mono-source.conf
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
# DeepFilter Noise Canceling Source for you microphone
#
# 1. Copy this file into a conf.d/ directory such as:
# /etc/pipewire/filter-chain.conf.d/
# or locally:
# ~/.config/pipewire/filter-chain.conf.d/
#
# 2. Install the deep_filter plugin globally to:
# /usr/lib/ladspa/libdeep_filter_ladspa.so
# or locally:
# ~/.ladspa/libdeep_filter_ladspa.so
#
# 3. Adjust the plugin path (line 35) accordingly. If you installed the plugin
# locally in your home directory, make sure to provide an absolute path here
# (i.e. /home/<your-user-name/.ladspa/) and do not use '~' or '$HOME'!
#
# 4. You may limit the noise attenuation (i.e. don't reduce all noise) by setting
# 'Attenuation Limit (dB)' to a smaller value. For little noise reduction, try
# 6-12, for medium noise reduction 18-24 dB. 100 dB means no attenuation limit.
#
# 5. Run the DeepFilter pipewire filter via `pipewire -c filter-chain.conf`
#
# 6. Select the DeepFilter microphone in your VoIP application like Zoom or Discord
context.modules = [
{ name = libpipewire-module-filter-chain
args = {
node.description = "DeepFilter Noise Canceling Source"
media.name = "DeepFilter Noise Canceling Source"
filter.graph = {
nodes = [
{
type = ladspa
name = "DeepFilter Mono"
plugin = /usr/lib/ladspa/libdeep_filter_ladspa.so
label = deep_filter_mono
control = {
"Attenuation Limit (dB)" 100
}
}
]
}
audio.rate = 48000
audio.position = [MONO]
capture.props = {
node.passive = true
}
playback.props = {
media.class = Audio/Source
}
}
}
]