# SoundService(ロブロックス クラス) > ゲーム全体の音の設定を管理するサービスです。 - URL:https://roblox.minecraft-okinawa.com/reference/classes/SoundService/ - 公式:https://create.roblox.com/docs/reference/engine/classes/SoundService - 受け継いでいるクラス:Instance ## プロパティ - `SoundService.AcousticSimulationEnabled: boolean`:Determines whether acoustic simulation is enabled globally in the advanced audio system. - `SoundService.AmbientReverb: ReverbType`:The ambient sound environment preset applied to all Class.Sound|Sounds. - `SoundService.CharacterSoundsUseNewApi: RolloutState`:Determines whether the default character sounds will use instances in the advanced audio system vs. Class.Sound|Sounds. - `SoundService.DefaultListenerLocation: ListenerLocation`:Determines where (if anywhere) to place an AudioListener by default. - `SoundService.DistanceFactor: float`:The number of studs to be considered a meter by SoundService when simulating the Doppler effect for Class.Sound|Sounds. - `SoundService.DopplerScale: float`:Degree to which the pitch of a Sound varies due to the Doppler effect. - `SoundService.ListenerCFrame: CFrame`:The CFrame that is used as the listener's position if Class.SoundService.ListenerType|ListenerType is set to ListenerType.CFrame. - `SoundService.ListenerObject: Instance`:The Instance whose translation or coordinate frame is used as the listener's position if Class.SoundService.ListenerType|ListenerType is set to ListenerType.ObjectPosition or ListenerType.ObjectCFrame. - `SoundService.ListenerType: ListenerType`:The current listener type used by 3D Class.Sound|Sounds to determine where they will be heard from. - `SoundService.RespectFilteringEnabled: boolean`:Sets whether Sound playback from a client will replicate to the server. - `SoundService.RolloffScale: float`:Determines how fast the volume of a Sound attenuates beyond its Sound.RollOffMinDistance. - `SoundService.VolumetricAudio: VolumetricAudio`:Determines whether certain spatialized Class.Sound|Sounds emit volumetrically, throughout the space of their parent object. ## メソッド - `SoundService:GetListener(): Tuple`:Returns the current listener type used by Class.Sound|Sounds, as well as what that listener is currently set to. - `SoundService:GetMixerTime(): double`:Returns a number in seconds which increases as the audio engine mixes. - `SoundService:OpenAttenuationCurveEditor(selectedCurveObjects: Instances): ()`:Opens the attenuation curve editor in Studio for the provided AudioEmitter or AudioListener instances. - `SoundService:OpenDirectionalCurveEditor(selectedCurveObjects: Instances): ()`:Opens the directional curve editor in Studio for the provided AudioEmitter or AudioListener instances. - `SoundService:PlayLocalSound(sound: Instance): ()`:Plays a copy of a Sound locally, such that it will only be heard by the client calling this method. - `SoundService:SetListener(listenerType: ListenerType, listener: Tuple): ()`:Sets the listener used by Class.Sound|Sounds. 英語の説明とメンバー一覧:Roblox Creator Documentation(CC BY 4.0)。日本語の解説はこのサイト独自のものです。 執筆:鈴木孝昌(現役プロジェクトマネージャー/プログラミング講師)/運営:沖縄マイクラ部 プログラミングスクール「クロスウェーブ」(https://minecraft-okinawa.com/)