TremoloSoundEffect

Mostrar obsoleto

The TremoloSoundEffect creates a trembling effect on a sound by varying the volume of the sound up and down.

Like all other SoundEffects, a TremoloSoundEffect can be applied either to a Sound or SoundGroup by being parented to either.

Resumo

Propriedades

  • ler parallel

    Controls how much the volume will raise and lower.

  • ler parallel

    Controls how long during one volume oscillation the effect will be active.

  • ler parallel

    Sets how often the effect will oscillate the volume.

Propriedades herdados de SoundEffect
  • ler parallel

    Toggles the effect on and off.

  • ler parallel

    Determines the order the effect will be applied in relation to other effects.

Propriedades

Depth

ler parallel

Range: 0 to 1 (default 1) Controls how much the volume will raise and lower. This value ranges between 0 (minimum volume) and 1 (maximum volume). If set to its minimum, the volume will not oscillate at all.

Duty

ler parallel

Range: 0 to 1 (default 0.5) Controls how long during one volume oscillation the effect will be active, specifically what percentage between 0 (0%) and 1 (100%).

Frequency

ler parallel

Range: 0.1 to 20 (default 5) Sets how often the effect will oscillate the volume. Measured in Hz.

Métodos

Eventos