blob: 7ceebc2627bb98df3a397f22076735056d4dbbab (
plain)
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
|
# Loudness limiter sink — 갑자기 튀는 큰 소리를 눌러주는 가상 출력
# swh-plugins 의 fastLookaheadLimiter (LADSPA) 사용
context.modules = [
{ name = libpipewire-module-filter-chain
args = {
node.description = "Limiter (소리 제한)"
media.name = "Limiter"
filter.graph = {
nodes = [
{
type = ladspa
name = limiter
plugin = /usr/lib/ladspa/fast_lookahead_limiter_1913.so
label = fastLookaheadLimiter
control = {
"Input gain (dB)" = 8.0
"Limit (dB)" = -4.0
"Release time (s)" = 0.4
}
}
]
}
audio.channels = 2
audio.position = [ FL FR ]
capture.props = {
node.name = "effect_input.limiter"
media.class = Audio/Sink
}
playback.props = {
node.name = "effect_output.limiter"
node.passive = true
# 리미터 출력을 블루투스 스피커로 고정.
# 다른 장치로 바꾸려면 이 값을 해당 sink 의 node.name 으로 변경
# (확인: pactl list sinks short). 비워두면 PipeWire 가 임의 장치를 잡음.
target.object = "bluez_output.58_18_62_05_90_04.1"
}
}
}
]
|