diff options
| author | TheSiahxyz <164138827+TheSiahxyz@users.noreply.github.com> | 2026-06-03 13:33:27 +0900 |
|---|---|---|
| committer | TheSiahxyz <164138827+TheSiahxyz@users.noreply.github.com> | 2026-06-03 13:33:27 +0900 |
| commit | f7a90f498410623635ada55ca8aac4534de038fc (patch) | |
| tree | ea03f98d33a9580ce77e73f7d6ad7b2295d939c4 /ar/.config/pipewire | |
| parent | db26578b444711a52afb5262966197104a540082 (diff) | |
created pipewire.conf.d/99-limiter-sink.conf
Diffstat (limited to 'ar/.config/pipewire')
| -rw-r--r-- | ar/.config/pipewire/pipewire.conf.d/99-limiter-sink.conf | 39 |
1 files changed, 39 insertions, 0 deletions
diff --git a/ar/.config/pipewire/pipewire.conf.d/99-limiter-sink.conf b/ar/.config/pipewire/pipewire.conf.d/99-limiter-sink.conf new file mode 100644 index 0000000..7ceebc2 --- /dev/null +++ b/ar/.config/pipewire/pipewire.conf.d/99-limiter-sink.conf @@ -0,0 +1,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" + } + } + } +] |
