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,單位為毫秒。