AudioEffectCompressor

Hereda: AudioEffect < Resource < RefCounted < Object

Añade un efecto de audio de compresion al bus de audio.

Reduces los sonidos que exceden un cierto umbral de sonido, suaviza la dinamica y aumenta el volumen total.

Descripción

Dynamic range compressor reduces the level of the sound when the amplitude goes over a certain threshold in Decibels. One of the main uses of a compressor is to increase the dynamic range by clipping as little as possible (when sound goes over 0dB).

Compressor has many uses in the mix:

  • In the Master bus to compress the whole output (although an AudioEffectHardLimiter is probably better).

  • In voice channels to ensure they sound as balanced as possible.

  • Sidechained. This can reduce the sound level sidechained with another audio bus for threshold detection. This technique is common in video game mixing to the level of music and SFX while voices are being heard.

  • Accentuates transients by using a wider attack, making effects sound more punchy.

Tutoriales

Propiedades

float

attack_us

20.0

float

gain

0.0

float

mix

1.0

float

ratio

4.0

float

release_ms

250.0

StringName

sidechain

&""

float

threshold

0.0


Descripciones de Propiedades

float attack_us = 20.0 🔗

  • void set_attack_us(value: float)

  • float get_attack_us()

Tiempo de reaccion del compreso cuando la señal excede el umbral, en microsegundos. El valor puede variar entre 20 y 2000.


float gain = 0.0 🔗

Ganancia aplicada a la señal de salida.


float mix = 1.0 🔗

Balance entre la señal original y el efecto de señal. Valores pueden variar desde 0 (totalmente seco) a 1 (totalmente humedo).


float ratio = 4.0 🔗

La cantidad de compresion aplicada al audio una ves pasa el nivel del umbral. A mas alto el ratio, mas compresion a las partes altas se hara. Valores se encuentran entre 1 y 48.


float release_ms = 250.0 🔗

  • void set_release_ms(value: float)

  • float get_release_ms()

Tiempo de retraso del compresor para parar de reducir la señal despues de que el nivel caiga por debajo del umbral, en milisegundos. El valor puede variar entre 20 y 2000.


StringName sidechain = &"" 🔗

Reduce el nivel de sonido usando otro bus de audio para la deteccion del umbral.


float threshold = 0.0 🔗

  • void set_threshold(value: float)

  • float get_threshold()

El nivel por encima por el cual la compresion es aplicada al audio. El valor puede variar entre -60 y 0.