Class · inherits Instance
AudioLimiter
Limits how loud audio streams are allowed to be.
About AudioLimiter
AudioLimiter limits how loud audio streams are allowed to be. Whenever its
input stream exceeds a specified maximum level, the stream's volume is reduced
for a moment. AudioLimiter provides a single Input pin, and a single
Output pin that can be connected to/from by Wires.
Properties 3
Bypass
: booleanWhether audio streams are passed-through unaffected by this effect.If
true, audio streams are passed-through unaffected by this effect.MaxLevel
: floatThe maximum volume tolerated.The maximum volume, in decibels, that the limiter will allow to pass through without reduction. Whenever the input stream exceeds
MaxLevel, the output stream's volume will be reduced to compensate. This value ranges from-12to0.Release
: floatThe amount of time it takes for previously limited streams to return to their normal volume.The amount of time, in seconds, that it takes for any previously (but not currently) limited streams to return to their normal volume. This value ranges from
0.001to1.
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.AudioLimiterhas 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
AudioLimiter, 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
AudioLimiter, this isOutputonly.
Events 1
WiringChanged
AudioLimiter.WiringChanged:Connect(function(connected, pin, wire, instance))Fires when another instance is connected to or disconnected from theAudioLimitervia aWire.Event that fires after a
Wirebecomes connected or disconnected, and thatWireis now or was previously connected to a pin on theAudioLimiterand to some other wirable instance.
AudioLimiter 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.