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.

AudioEffectAmplify

Hereda: AudioEffect < Resource < RefCounted < Object

Adds a volume manipulation audio effect to an audio bus.

Descripción

Aumenta o reduce el volumen que se dirige a traves del bus de audio.

Tutoriales

Propiedades

float

volume_db

0.0

float

volume_linear


Descripciones de Propiedades

float volume_db = 0.0 🔗

  • void set_volume_db(value: float)

  • float get_volume_db()

Amount of amplification in dB. Positive values make the sound louder, negative values make it quieter. Value can range from -80 to 24.


float volume_linear 🔗

  • void set_volume_linear(value: float)

  • float get_volume_linear()

Cantidad de amplificación como un valor lineal.

Nota: Este miembro modifica volume_db para conveniencia. El valor devuelto es equivalente al resultado de @GlobalScope.db_to_linear() en volume_db. Establecer este miembro es equivalente a establecer volume_db al resultado de @GlobalScope.linear_to_db() en un valor.