跳转至

AudioEffectLimiter

继承

AudioEffect

简要描述

向音频总线添加软剪辑限制器音频效果。

描述

限制器类似于压缩器,但灵活性较差,并且设计为不允许声音超过给定的dB阈值。

软削波开始将峰值降低到略低于阈值水平,并随着输入水平的增加而逐渐增加其效果,从而不会超过阈值。

成员

类型 属性名 默认值
float ceiling_db -0.1
float soft_clip_db 2.0
float soft_clip_ratio 10.0
float threshold_db 0.0

成员说明

  • float ceiling_db
Default -0.1
setter set_ceiling_db(value)
getter get_ceiling_db
  • float soft_clip_db
Default 2.0
setter set_soft_clip_db(value)
getter get_soft_clip_db
  • float soft_clip_ratio
Default 10.0
setter set_soft_clip_ratio(value)
getter get_soft_clip_ratio
  • float threshold_db
Default 0.0
setter set_threshold_db(value)
getter get_threshold_db