# Incorrect documentation for Sound::setDefaults

**URL:** <https://qa.fmod.com/t/incorrect-documentation-for-sound-setdefaults/23018>\
**Category:** FMOD Engine\
**Created:** [June 5, 2025, 7:20pm UTC](https://qa.fmod.com/t/incorrect-documentation-for-sound-setdefaults/23018 "2025-06-05T19:20:17Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![katelyngadd](https://yyz2.discourse-cdn.com/flex036/user_avatar/qa.fmod.com/katelyngadd/32/8597_2.png) [@katelyngadd](https://qa.fmod.com/u/katelyngadd)\
**Post date:** [June 5, 2025, 7:20pm UTC](https://qa.fmod.com/t/incorrect-documentation-for-sound-setdefaults/23018/1 "2025-06-05T19:20:17Z")

</div>

The Sound::setDefaults documentation says:

> frequency
> 
> Default playback frequency.
> 
> - Units: Hertz
> - Default: 48000

But the default frequency appears to be dependent upon the sample rate of the loaded sound, so if you use 48000 as the default value the pitch of your sounds may be incorrect.

Someone aiming only to set the default priority of a sound probably needs to call Sound::getDefaults first to get the current frequency and preserve it, it might make sense to call that out in the docs.

---

<div class="post-metadata">

**Author:** ![jeff\_fmod](https://yyz2.discourse-cdn.com/flex036/user_avatar/qa.fmod.com/jeff_fmod/32/1766_2.png) [@jeff\_fmod](https://qa.fmod.com/u/jeff_fmod)\
**Post date:** [June 10, 2025, 2:00am UTC](https://qa.fmod.com/t/incorrect-documentation-for-sound-setdefaults/23018/2 "2025-06-10T02:00:57Z")

</div>

I have written up a task to correct these issues, thank you for bringing them to our attention!
