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

Eredita: AudioEffect < Resource < RefCounted < Object

Adds a volume manipulation audio effect to an audio bus.

Descrizione

Aumenta o diminuisce il volume che viene indirizzato attraverso il bus audio.

Tutorial

Proprietà

float

volume_db

0.0

float

volume_linear


Descrizioni delle proprietà

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()

Quantità di amplificazione come valore lineare.

Nota: Questo membro modifica volume_db per comodità. Il valore restituito è equivalente al risultato di @GlobalScope.db_to_linear() su volume_db. Impostare questo membro equivale a impostare volume_db sul risultato di @GlobalScope.linear_to_db() su un valore.