# AudioListener(ロブロックス クラス) > Records an audio stream from its surrounding Class.AudioEmitter|AudioEmitters in the 3D world. - URL:https://roblox.minecraft-okinawa.com/reference/classes/AudioListener/ - 公式:https://create.roblox.com/docs/reference/engine/classes/AudioListener - 受け継いでいるクラス:Instance ## プロパティ - `AudioListener.AcousticSimulationEnabled: boolean`:Determines whether acoustic simulation should be used for this AudioListener. - `AudioListener.AngleAttenuation: BinaryString`:Represents how the perceived volume of the emitted sound changes based on the angle between a AudioEmitter and the Datatype.CFrame.LookVector|LookVector associated with the AudioListener. - `AudioListener.AudioInteractionGroup: string`:Controls which Class.AudioEmitter|AudioEmitters are audible to this AudioListener. - `AudioListener.DistanceAttenuation: BinaryString`:Represents how the perceived volume of emitted sounds change as the distance between Class.AudioEmitter|AudioEmitters and the AudioListener increases. - `AudioListener.PositionInstance: Instance`:The Instance whose position and orientation is used as the listener's position if Class.AudioListener.PositionType|PositionType is set to ListenerPositionType.Instance. - `AudioListener.PositionType: ListenerPositionType`:Determines how the AudioListener determines its 3D location. ## メソッド - `AudioListener:GetAngleAttenuation(): Dictionary`:Gets the angle attenuation curve that the AudioListener is using, or an empty table if it's using the default curve. - `AudioListener:GetAudibilityFor(emitter: AudioEmitter): float`:Calculates how audible an AudioEmitter is for this listener - `AudioListener:GetConnectedWires(pin: string): List`:Returns an array of Class.Wire|Wires that are connected to the specified pin. - `AudioListener:GetDistanceAttenuation(): Dictionary`:Gets the distance attenuation curve that the AudioListener is using, or an empty table if it's using the default curve. - `AudioListener:GetInputPins(): Array`:Gets the list of pins that Wire can use in Wire.TargetName to connect to this instance via its Wire.TargetInstance property. - `AudioListener:GetInteractingEmitters(): List`:Lists all Class.AudioEmitter|AudioEmitters that this listener is capable of hearing. - `AudioListener:GetOutputPins(): Array`:Gets the list of pins that Wire can use in Wire.SourceName to connect to this instance via its Wire.SourceInstance property. - `AudioListener:SetAngleAttenuation(curve: Dictionary): ()`:Sets the angle attenuation curve that the AudioListener should use, or uses a constant curve of volume 1 if none is provided. - `AudioListener:SetDistanceAttenuation(curve: Dictionary): ()`:Sets the distance attenuation curve that the AudioListener should use, or uses an inverse rolloff curve if none is provided. ## イベント - `AudioListener.WiringChanged(connected: boolean, pin: string, wire: Wire, instance: Instance)`:Fires when another instance is connected to or disconnected from the AudioListener via a Wire. 英語の説明とメンバー一覧:Roblox Creator Documentation(CC BY 4.0)。日本語の解説はこのサイト独自のものです。 執筆:鈴木孝昌(現役プロジェクトマネージャー/プログラミング講師)/運営:沖縄マイクラ部 プログラミングスクール「クロスウェーブ」(https://minecraft-okinawa.com/)