Skip to content
Roblox API Reference

AudioEmitter

Emits audio streams into the world.
Memory category
Internal
Own members
23
Inherited members
75
Subclasses
0
Siblings
608

Properties35

Inherited fromObject2

Property categoryData

Inherited fromInstance21

Property categoryBehavior

Property categoryData

Property categoryPermissions

Defined byAudioEmitter12

Property categoryEmission

Property categoryInteractions

  • AudioEmitter.AudioInteractionGroup: string = ""
    Controls which AudioListeners are capable of hearing this AudioEmitter.
    • Read capabilities: Audio

Property categorySimulation

Methods52

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 byAudioEmitter10
  • AudioEmitter:GetAngleAttenuation(): { [string]: any }
    Gets the angle attenuation curve that the AudioEmitter is using, or an empty table if it's using the default curve.
    • Custom Lua state
    • Capabilities: Audio
    Returns
    TypeDescription
    { [string]: any }
    Table mapping angle to volume, as described above.
  • AudioEmitter:GetAudibilityFor(listener: AudioListener): number
    Calculates how audible this emitter is for a particular AudioListener.
    • Capabilities: Audio
    Parameters
    ParameterDescription
    listener: AudioListener
    The AudioListener to calculate audibility for.
    Returns
    TypeDescription
    number
    A number between 0 and 1 representing the combined volume after distance and angle attenuation.
  • AudioEmitter: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
  • AudioEmitter:GetDistanceAttenuation(): { [string]: any }
    Gets the distance attenuation curve that the AudioEmitter is using, or an empty table if it's using the default curve.
    • Custom Lua state
    • Capabilities: Audio
    Returns
    TypeDescription
    { [string]: any }
    A table mapping distance to volume, as described above.
  • AudioEmitter: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.
  • AudioEmitter:GetInteractingListeners(): { Instance }
    Lists all AudioListeners that are capable of hearing this emitter.
    • Capabilities: Audio
    Returns
    TypeDescription
    { Instance }
    An array of AudioListeners.
  • AudioEmitter: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.
  • AudioEmitter:GetWorldCFrame(): CFrame?
    • Roblox script security
    • Capabilities: Audio
    Returns
    Type
    CFrame?
  • AudioEmitter:SetAngleAttenuation(curve: { [string]: any })
    Sets the angle attenuation curve that the AudioEmitter should use, or uses a constant curve of volume 1 if none is provided.
    • Custom Lua state
    • Capabilities: Audio
    Parameters
    ParameterDescription
    curve: { [string]: any }
    A table mapping angle to volume. Keys are numbers between 0 and 180, values are numbers between 0 and 1.
  • AudioEmitter:SetDistanceAttenuation(curve: { [string]: any })
    Sets the distance attenuation curve that the AudioEmitter should use, or uses an inverse rolloff curve if none is provided.
    • Custom Lua state
    • Capabilities: Audio
    Parameters
    ParameterDescription
    curve: { [string]: any }
    A table mapping distance to volume. Keys are numbers greater than or equal to 0, values are numbers between 0 and 1.

Events11

Inherited fromObject1
Inherited fromInstance9
Defined byAudioEmitter1