修正強制壓限: 加 level=disabled 關閉自動回補
alimiter 預設 level 會在壓限後把音量正規化回 0dB,反而造成更多 0dB 破音樣本。 關閉後峰值正確壓在約 -0.45dBFS,真正留下 headroom 防破音(已實測驗證)。 本次修正由 Claude Opus 4.8 (1M context) 協助處理。 Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
This commit is contained in:
@@ -496,7 +496,9 @@ def _audio_filter_chain() -> List[str]:
|
||||
if LOWPASS:
|
||||
chain.append(f"lowpass=f={int(LOWPASS_HZ)}") # 低通 (Lowpass)
|
||||
if HARD_LIMITER:
|
||||
chain.append("alimiter=limit=0.95") # 強制壓限 (Hard Limiter)
|
||||
# 強制壓限 (Hard Limiter): limit=0.95 → 峰值天花板約 -0.45dBFS;
|
||||
# level=disabled 關掉「壓限後自動回補到 0dB」,才能真正留下 headroom 防破音
|
||||
chain.append("alimiter=limit=0.95:level=disabled")
|
||||
return chain
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user