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