Class · inherits Instance
AudioTremolo
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
0and1with a default of1. If set to0, 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%) to1(100%). Default is0.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.1to20. Default is5.Shape
: floatControls the shape of the low frequency oscillations.Morphs the LFO (low frequency oscillation) shape in a range of
0to1where0is triangle and1is sine. Default is0.Skew
: floatTime-skews the low frequency oscillations cycle.Controls the time-skewing of the LFO (low frequency oscillation) cycle in the range of
-1to1. No skewing occurs at0, with more extremal forwards and backwards skewing towards+1/-1. Default is0.Square
: floatFlatness of the low frequency oscillations shape.Determines the squareness of the oscillations in the range of
0to1. The original shape is retained when0and the shape flattens more as the value increases. Default is0.
Methods 3
GetConnectedWires
(pin: string) → List<Wire>Returns an array ofWiresthat are connected to the specified pin.Returns an array of
Wiresthat are connected to the specified pin.AudioTremolohas one "Input" pin and one "Output" pin.GetInputPins
() → ArrayGets the list of pins thatWirecan use inWire.TargetNameto connect to this instance via itsWire.TargetInstanceproperty.Gets the list of pins that
Wirecan use inWire.TargetNameto connect to this instance via itsWire.TargetInstanceproperty.For
AudioTremolo, this isInputonly.GetOutputPins
() → ArrayGets the list of pins thatWirecan use inWire.SourceNameto connect to this instance via itsWire.SourceInstanceproperty.Gets the list of pins that
Wirecan use inWire.SourceNameto connect to this instance via itsWire.SourceInstanceproperty.For
AudioTremolo, this isOutputonly.
Events 1
WiringChanged
AudioTremolo.WiringChanged:Connect(function(connected, pin, wire, instance))Fires when another instance is connected to or disconnected from theAudioTremolovia aWire.Event that fires after a
Wirebecomes connected or disconnected, and thatWireis now or was previously connected to a pin on theAudioTremoloand 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.