Skip to content

Class · inherits Instance

AudioTremolo

Official docs ↗

Creates a trembling effect on a sound by varying the volume of the sound up and down.

About AudioTremolo

AudioTremolo creates a trembling effect on a sound by varying the volume of the sound up and down. It provides one Input pin and one Output pin which can be connected to/from by Wires.

Properties 7

  • Bypass: booleanWhether audio streams are passed-through unaffected by this effect.

    If true, audio streams are passed-through unaffected by this effect.

  • Depth: floatControls how much the volume will raise and lower.

    Controls how much the volume will raise and lower, ranging between 0 and 1 with a default of 1. If set to 0, the volume will not oscillate at all.

  • Duty: floatControls how long the effect will be active during one volume oscillation.

    Controls how long the effect will be active during one volume oscillation in the range of 0 (0%) to 1 (100%). Default is 0.5.

  • Frequency: floatSets how often the effect will oscillate the volume.

    Sets how often the effect will oscillate the volume, measured in Hz, in the range of 0.1 to 20. Default is 5.

  • Shape: floatControls the shape of the low frequency oscillations.

    Morphs the LFO (low frequency oscillation) shape in a range of 0 to 1 where 0 is triangle and 1 is sine. Default is 0.

  • Skew: floatTime-skews the low frequency oscillations cycle.

    Controls the time-skewing of the LFO (low frequency oscillation) cycle in the range of -1 to 1. No skewing occurs at 0, with more extremal forwards and backwards skewing towards +1/-1. Default is 0.

  • Square: floatFlatness of the low frequency oscillations shape.

    Determines the squareness of the oscillations in the range of 0 to 1. The original shape is retained when 0 and the shape flattens more as the value increases. Default is 0.

Methods 3

Events 1

  • WiringChangedAudioTremolo.WiringChanged:Connect(function(connected, pin, wire, instance))Fires when another instance is connected to or disconnected from the AudioTremolo via a Wire.

    Event that fires after a Wire becomes connected or disconnected, and that Wire is now or was previously connected to a pin on the AudioTremolo and to some other wirable instance.

AudioTremolo also has every member of Instance. Deprecated and Roblox-only members are hidden.

Reference text from the Roblox Creator Documentation, licensed CC BY 4.0, reorganized by rbxtoolshub.com · Studio 0.743.0.7431133.