Skip to content
Roblox API Reference

AudioFilter

Adjusts the frequency content of audio streams.
Memory category
Internal
Own members
11
Inherited members
75
Subclasses
0
Siblings
608

Properties29

Inherited fromObject2

Property categoryData

Inherited fromInstance21

Property categoryBehavior

Property categoryData

Property categoryPermissions

Defined byAudioFilter6

Property categoryState

  • AudioFilter.Bypass: boolean = false
    Whether audio streams are passed-through unaffected by this effect.
    • Read capabilities: Audio
  • The curve type of the band represented by the filter.
    • Read capabilities: Audio
  • AudioFilter.Frequency: number = 2000
    The central frequency that the filter acts around.
    • Read capabilities: Audio
  • AudioFilter.Gain: number = 0
    For peaking and shelving filters, controls volume increase or reduction.
    • Read capabilities: Audio
  • AudioFilter.Q: number = 0.707000017
    For peaking, lowpass, highpass, bandpass, and notch filters, controls the selectiveness or resonance.
    • Read capabilities: Audio

Property categoryState Editing

  • AudioFilter.Editor: boolean = false
    • Not replicated
    • Roblox script security
    • Read capabilities: Audio
    • Load only

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 byAudioFilter4
  • AudioFilter: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
  • AudioFilter:GetGainAt(frequency: number): number
    Returns the magnitude response of the filter at the given frequency.
    • Capabilities: Audio
    Parameters
    ParameterDescription
    frequency: number
    The frequency, in hertz, to sample.
    Returns
    TypeDescription
    number
    The gain value, in decibels, at the given frequency.
  • AudioFilter: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.
  • AudioFilter: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.

Events11

Inherited fromObject1
Inherited fromInstance9
Defined byAudioFilter1