# Any way to change Audio Sample Rate (Hz) in audio settings?

**URL:** <https://forums.unrealengine.com/t/any-way-to-change-audio-sample-rate-hz-in-audio-settings/455091>\
**Category:** Audio\
**Tags:** compression, unreal-engine, question\
**Created:** [September 9, 2019, 6:55pm UTC](https://forums.unrealengine.com/t/any-way-to-change-audio-sample-rate-hz-in-audio-settings/455091 "2019-09-09T18:55:39Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![anonymous\_user\_f1aa296f](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_f1aa296f](https://forums.unrealengine.com/u/anonymous_user_f1aa296f)\
**Post date:** [September 9, 2019, 6:55pm UTC](https://forums.unrealengine.com/t/any-way-to-change-audio-sample-rate-hz-in-audio-settings/455091/1 "2019-09-09T18:55:39Z")

</div>

Hey all,

Unreal has a bunch of non-destructive features when it comes to lowering quality of assets for smaller packages. For example, I can force a mip of a texture and have it package at that size, but I can always come back and raise it later without having to back up and re-import any external assets. Very nice for handling games that are release on multiple platforms like PC and Mobile

I was wondering if this was possible to do something similar to the sample rate for audio? Could I lower the sample rate of my audio from 44100 Hz to 22050 Hz to package for mobile to get the size down, and then move it back up for the PC build?

I can do it manually by lowering them all externally by hand, backing up the high res versions, and then re-importing for every audio asset I have. It will take forever, so I just wanted to make sure this is my only option before going for it.

---

<div class="post-metadata">

**Author:** ![BladeMaster](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@BladeMaster](https://forums.unrealengine.com/u/BladeMaster)\
**Post date:** [September 9, 2019, 7:49pm UTC](https://forums.unrealengine.com/t/any-way-to-change-audio-sample-rate-hz-in-audio-settings/455091/2 "2019-09-09T19:49:23Z")

</div>

You can set platform-specific audio sample rates in the project settings.

Go to Project Settings-\>Platforms-\>[YouDesiredPlatform]-\>Audio-\>Audio Mixer Sample Rate.

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_f1aa296f](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_f1aa296f](https://forums.unrealengine.com/u/anonymous_user_f1aa296f)\
**Post date:** [September 9, 2019, 8:37pm UTC](https://forums.unrealengine.com/t/any-way-to-change-audio-sample-rate-hz-in-audio-settings/455091/3 "2019-09-09T20:37:25Z")

</div>

Hi there, thanks for the reply!

I made a quick project and threw in around 40 sounds (and made them play in order on begin play just to confirm they are actually packaging.)

I did an android and windows build at 44500 sample rate in the project settings, and one at 8000 (extreme example) and they are the same size.

 ![](https://d3kjluh73b9h9o.cloudfront.net/original/4X/3/b/1/3b153ed29db13fa06c69c85af1970af482348829.png)

Also, I play tested the 8000 hz windows build (can’t deploy to android at the moment) and the sound is very obviously not at 8000hz; the audio is still nice and crisp

---

<div class="post-metadata">

**Author:** ![BladeMaster](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@BladeMaster](https://forums.unrealengine.com/u/BladeMaster)\
**Post date:** [September 10, 2019, 1:45pm UTC](https://forums.unrealengine.com/t/any-way-to-change-audio-sample-rate-hz-in-audio-settings/455091/4 "2019-09-10T13:45:17Z")

</div>

That is very weird. The sample rate change was working for me when I used it for Oculus Quest builds. I will try to dig around more and see what I can find. In the meantime, if you are able to solve this issue, do post it here!

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_f1aa296f](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_f1aa296f](https://forums.unrealengine.com/u/anonymous_user_f1aa296f)\
**Post date:** [November 1, 2019, 5:19pm UTC](https://forums.unrealengine.com/t/any-way-to-change-audio-sample-rate-hz-in-audio-settings/455091/5 "2019-11-01T17:19:41Z")

</div>

So the problem got worse, adjusting the sample rate on 4.23 now raises the pitch of the audio? Very weird

---

<div class="post-metadata">

**Author:** ![Kuroodo\_Ditory](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/kuroodo_ditory/32/567661_2.png) [@Kuroodo\_Ditory](https://forums.unrealengine.com/u/Kuroodo_Ditory)\
**Post date:** [November 1, 2019, 7:36pm UTC](https://forums.unrealengine.com/t/any-way-to-change-audio-sample-rate-hz-in-audio-settings/455091/6 "2019-11-01T19:36:56Z")

</div>

I can confirm the pitch issue, both a higher and lower pitch. This also happens in 4.22. I came across this when trying to upgrade my project from 4.21 to 4.22 and also 4.23. Setting the sample rate to 48000 is what fixed it in my case. I don’t know why this affects pitch.

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_f1aa296f](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_f1aa296f](https://forums.unrealengine.com/u/anonymous_user_f1aa296f)\
**Post date:** [November 1, 2019, 7:38pm UTC](https://forums.unrealengine.com/t/any-way-to-change-audio-sample-rate-hz-in-audio-settings/455091/7 "2019-11-01T19:38:56Z")

</div>

Yeah. The problem is that it affects pitch, and also doesn’t actually lower the sample rate, resulting in a smaller package size.

So now, not only does it not do what is advertised, it also now just messes up the audios pitch.

I just want to lower the audio sample rate without resorting to changing them all manually one by one

---

<div class="post-metadata">

**Author:** ![Ben\_Blau](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/ben_blau/32/726696_2.png) [@Ben\_Blau](https://forums.unrealengine.com/u/Ben_Blau)\
**Post date:** [July 4, 2022, 4:09pm UTC](https://forums.unrealengine.com/t/any-way-to-change-audio-sample-rate-hz-in-audio-settings/455091/8 "2022-07-04T16:09:52Z")

</div>

Hello, all. I want to chime in to add information. Changing the sampling rate in Unreal is not the same as performing a sampling rate conversion. For example, if you have an audio file that was recorded at 44.1 kHz and play it back in a system that uses 48 kHz, it will pull up the audio to play at that selected rate. That will affect pitch and duration. The reverse is also true. If you don’t want that to happen, either perform a sampling rate conversion on the file in question before importing it, or record the file at the destination sampling rate in the first place.

If you can prepare your audio assets at the destination sampling rate, that’s preferable over a sampling rate conversion, which although not catastrophic, affects sound quality by a small amount (although far less than Vorbis compression).

🙂

---

<div class="post-metadata">

**Author:** ![Ben\_Blau](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/ben_blau/32/726696_2.png) [@Ben\_Blau](https://forums.unrealengine.com/u/Ben_Blau)\
**Post date:** [July 4, 2022, 4:16pm UTC](https://forums.unrealengine.com/t/any-way-to-change-audio-sample-rate-hz-in-audio-settings/455091/9 "2022-07-04T16:16:44Z")

</div>

Also: when you change the pitch of an audio file in the usual way in Unreal, you are altering the sample playback rate. That’s how it works. It’s also the reason you get a formant shift accompanying it. If you need to manipulate pitch independently from a clip’s duration and/or formants, you’ll need to use software like Melodyne, Little Altar Boy, etc.
