AudioLimiter

Show Deprecated

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 Class.Wires.

Summary

Properties

  • Read Parallel

    Whether audio streams are passed-through unaffected by this effect.

  • Read Parallel

    The maximum volume tolerated.

  • Read Parallel

    The amount of time it takes for previously limited streams to return to their normal volume.

Methods

Properties

Bypass

Read Parallel

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

MaxLevel

Read Parallel

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 -12 to 0.

Release

Read Parallel

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.001 to 1.

Methods

GetConnectedWires

Instances

Returns an array of Wires that are connected to the specified pin. AudioLimiter has one Input pin and one Output pin.

Parameters

pin: string

Returns

Instances

Events

WiringChanged

Parameters

connected: bool
pin: string
wire: Wire
instance: Instance