diff --git a/doc/classes/AudioStreamRandomizer.xml b/doc/classes/AudioStreamRandomizer.xml index 384c3160008..12514fe03d7 100644 --- a/doc/classes/AudioStreamRandomizer.xml +++ b/doc/classes/AudioStreamRandomizer.xml @@ -68,10 +68,10 @@ Controls how this AudioStreamRandomizer picks which AudioStream to play next. - + The intensity of random pitch variation. A value of 1 means no variation. - + The intensity of random volume variation. A value of 0 means no variation. diff --git a/servers/audio/audio_stream.h b/servers/audio/audio_stream.h index 02a7651631d..983ca8892d2 100644 --- a/servers/audio/audio_stream.h +++ b/servers/audio/audio_stream.h @@ -223,8 +223,8 @@ private: HashSet playbacks; Vector audio_stream_pool; - float random_pitch_scale = 1.1f; - float random_volume_offset_db = 5.0f; + float random_pitch_scale = 1.0f; + float random_volume_offset_db = 0.0f; Ref instance_playback_random(); Ref instance_playback_no_repeats();