Attention: Here be dragons

This is the latest (unstable) version of this documentation, which may document features not available in or compatible with released stable versions of Godot.

AudioEffectStereoEnhance

继承: AudioEffect < Resource < RefCounted < Object

向音频总线添加一个立体声处理音频效果。

控制侧边声道的增益,并加宽立体声像。

描述

调整左右声道的增益,并通过相移将单声道声音变为立体声。

教程

属性

float

pan_pullout

1.0

float

surround

0.0

float

time_pullout_ms

0.0


属性说明

float pan_pullout = 1.0 🔗

  • void set_pan_pullout(value: float)

  • float get_pan_pullout()

侧边声道的增益,若存在。值为 0 时会将立体声下混为单声道。取值范围为 0 到 4。


float surround = 0.0 🔗

  • void set_surround(value: float)

  • float get_surround()

通过与 time_pullout_ms 配合进行相移来加宽立体声像。若 time_pullout_ms 为 0,则仅将声音声像定位到左声道。取值范围为 0 到 1。


float time_pullout_ms = 0.0 🔗

  • void set_time_pullout(value: float)

  • float get_time_pullout()

通过与 surround 配合进行相移来加宽立体声像。若 surround 为 0,则仅延迟右声道。取值范围从 0 到 50,单位为毫秒。