跳到主要内容

AudioEffectChorus

继承

AudioEffect

简要描述

添加合唱音频效果。

描述

添加合唱音频效果。

成员

类型属性名默认值
floatdry1.0
floatvoice/1/cutoff_hz8000.0
floatvoice/1/delay_ms15.0
floatvoice/1/depth_ms2.0
floatvoice/1/level_db0.0
floatvoice/1/pan-0.5
floatvoice/1/rate_hz0.8
floatvoice/2/cutoff_hz8000.0
floatvoice/2/delay_ms20.0
floatvoice/2/depth_ms3.0
floatvoice/2/level_db0.0
floatvoice/2/pan0.5
floatvoice/2/rate_hz1.2
floatvoice/3/cutoff_hz
floatvoice/3/delay_ms
floatvoice/3/depth_ms
floatvoice/3/level_db
floatvoice/3/pan
floatvoice/3/rate_hz
floatvoice/4/cutoff_hz
floatvoice/4/delay_ms
floatvoice/4/depth_ms
floatvoice/4/level_db
floatvoice/4/pan
floatvoice/4/rate_hz
intvoice_count2
floatwet0.5

方法

返回值类型方法名称
floatget_voice_cutoff_hz(voice_idx: int) const
floatget_voice_delay_ms(voice_idx: int) const
floatget_voice_depth_ms(voice_idx: int) const
floatget_voice_level_db(voice_idx: int) const
floatget_voice_pan(voice_idx: int) const
floatget_voice_rate_hz(voice_idx: int) const
voidset_voice_cutoff_hz(voice_idx: int, cutoff_hz: float)
voidset_voice_delay_ms(voice_idx: int, delay_ms: float)
voidset_voice_depth_ms(voice_idx: int, depth_ms: float)
voidset_voice_level_db(voice_idx: int, level_db: float)
voidset_voice_pan(voice_idx: int, pan: float)
voidset_voice_rate_hz(voice_idx: int, rate_hz: float)

常量

成员说明

  • float dry
Default1.0
setterset_dry(value)
getterget_dry
  • float voice/1/cutoff_hz
Default8000.0
setterset_voice_cutoff_hz(value)
getterget_voice_cutoff_hz
  • float voice/1/delay_ms
Default15.0
setterset_voice_delay_ms(value)
getterget_voice_delay_ms
  • float voice/1/depth_ms
Default2.0
setterset_voice_depth_ms(value)
getterget_voice_depth_ms
  • float voice/1/level_db
Default0.0
setterset_voice_level_db(value)
getterget_voice_level_db
  • float voice/1/pan
Default-0.5
setterset_voice_pan(value)
getterget_voice_pan
  • float voice/1/rate_hz
Default0.8
setterset_voice_rate_hz(value)
getterget_voice_rate_hz
  • float voice/2/cutoff_hz
Default8000.0
setterset_voice_cutoff_hz(value)
getterget_voice_cutoff_hz
  • float voice/2/delay_ms
Default20.0
setterset_voice_delay_ms(value)
getterget_voice_delay_ms
  • float voice/2/depth_ms
Default3.0
setterset_voice_depth_ms(value)
getterget_voice_depth_ms
  • float voice/2/level_db
Default0.0
setterset_voice_level_db(value)
getterget_voice_level_db
  • float voice/2/pan
Default0.5
setterset_voice_pan(value)
getterget_voice_pan
  • float voice/2/rate_hz
Default1.2
setterset_voice_rate_hz(value)
getterget_voice_rate_hz
  • float voice/3/cutoff_hz
setterset_voice_cutoff_hz(value)
getterget_voice_cutoff_hz
  • float voice/3/delay_ms
setterset_voice_delay_ms(value)
getterget_voice_delay_ms
  • float voice/3/depth_ms
setterset_voice_depth_ms(value)
getterget_voice_depth_ms
  • float voice/3/level_db
setterset_voice_level_db(value)
getterget_voice_level_db
  • float voice/3/pan
setterset_voice_pan(value)
getterget_voice_pan
  • float voice/3/rate_hz
setterset_voice_rate_hz(value)
getterget_voice_rate_hz
  • float voice/4/cutoff_hz
setterset_voice_cutoff_hz(value)
getterget_voice_cutoff_hz
  • float voice/4/delay_ms
setterset_voice_delay_ms(value)
getterget_voice_delay_ms
  • float voice/4/depth_ms
setterset_voice_depth_ms(value)
getterget_voice_depth_ms
  • float voice/4/level_db
setterset_voice_level_db(value)
getterget_voice_level_db
  • float voice/4/pan
setterset_voice_pan(value)
getterget_voice_pan
  • float voice/4/rate_hz
setterset_voice_rate_hz(value)
getterget_voice_rate_hz
  • int voice_count
Default2
setterset_voice_count(value)
getterget_voice_count
  • float wet
Default0.5
setterset_wet(value)
getterget_wet

方法说明

  • get_voice_cutoff_hz get_voice_cutoff_hz(voice_idx: int) const

  • get_voice_delay_ms get_voice_delay_ms(voice_idx: int) const

  • get_voice_depth_ms get_voice_depth_ms(voice_idx: int) const

  • get_voice_level_db get_voice_level_db(voice_idx: int) const

  • get_voice_pan get_voice_pan(voice_idx: int) const

  • get_voice_rate_hz get_voice_rate_hz(voice_idx: int) const

  • set_voice_cutoff_hz set_voice_cutoff_hz(voice_idx: int, cutoff_hz: float)

  • set_voice_delay_ms set_voice_delay_ms(voice_idx: int, delay_ms: float)

  • set_voice_depth_ms set_voice_depth_ms(voice_idx: int, depth_ms: float)

  • set_voice_level_db set_voice_level_db(voice_idx: int, level_db: float)

  • set_voice_pan set_voice_pan(voice_idx: int, pan: float)

  • set_voice_rate_hz set_voice_rate_hz(voice_idx: int, rate_hz: float)