Skip to content
Roblox API Reference

AudioGate

Mutes audio streams that fall below a certain volume threshold.
Memory category
Internal
Own members
9
Inherited members
75
Subclasses
0
Siblings
608

Properties27

Inherited fromObject2

Property categoryData

Inherited fromInstance21

Property categoryBehavior

Property categoryData

Property categoryPermissions

Defined byAudioGate4

Property categoryState

  • AudioGate.Attack: number = 0.00999999978
    Controls how long it takes for the gate to open when the signal level rises above the Threshold.
    • Read capabilities: Audio
  • AudioGate.Bypass: boolean = false
    Whether audio streams are passed-through unaffected by this effect.
    • Read capabilities: Audio
  • AudioGate.Release: number = 0.100000001
    Controls how long it takes for the gate to close when the signal level drops below the Threshold.
    • Read capabilities: Audio
  • AudioGate.Threshold: NumberRange = NumberRange.new(-36, -24)
    The gain value(s) around which the gate opens and closes.
    • Read capabilities: Audio

Methods46

Inherited fromObject3
  • Get an event that fires when a given property of the object changes.
    Parameters
    ParameterDescription
    property: string
    The property to connect to.
    Returns
    TypeDescription
    RBXScriptSignal
    A signal that fires whenever the property changes.
  • Object:IsA(className: string): boolean
    Returns true if an object's class matches or inherits from a given class.
    • Custom Lua state
    • Thread safe
    Parameters
    ParameterDescription
    className: string
    The class against which the Object's class will be checked. Case-sensitive.
    Returns
    TypeDescription
    boolean
    Describes whether the Object's class matched or is a subclass of the given class.
  • Object:isA(className: string): boolean
    Deprecated: This deprecated function is a variant of Object:IsA() which should be used instead.
    • Deprecated
    • Custom Lua state
    Parameters
    Parameter
    className: string
    Returns
    Type
    boolean

    Use IsA instead.

Inherited fromInstance39
Defined byAudioGate4
  • AudioGate:GetConnectedWires(pin: string): { Instance }
    Returns an array of Wires that are connected to the specified pin.
    • Capabilities: Audio
    Parameters
    ParameterDescription
    pin: string
    An input or output pin on this instance
    Returns
    TypeDescription
    { Instance }
    An array of Wires
  • AudioGate:GetInputPins(): { any }
    Gets the list of pins that Wire can use in Wire.TargetName to connect to this instance via its Wire.TargetInstance property.
    • Capabilities: Audio
    Returns
    TypeDescription
    { any }
    An array of strings representing valid pin names.
  • AudioGate:GetOutputPins(): { any }
    Gets the list of pins that Wire can use in Wire.SourceName to connect to this instance via its Wire.SourceInstance property.
    • Capabilities: Audio
    Returns
    TypeDescription
    { any }
    An array of strings representing valid pin names.
  • AudioGate:Reset()
    • Roblox script security
    • Capabilities: Audio

Events11

Inherited fromObject1
Inherited fromInstance9
Defined byAudioGate1