# Coloured noises drop off in high frequencies

**URL:** <https://qa.fmod.com/t/coloured-noises-drop-off-in-high-frequencies/19669>\
**Category:** FMOD Engine\
**Tags:** cpp\
**Created:** [December 20, 2022, 7:55pm UTC](https://qa.fmod.com/t/coloured-noises-drop-off-in-high-frequencies/19669 "2022-12-20T19:55:13Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Reymundo911](https://avatars.discourse-cdn.com/v4/letter/r/59ef9b/32.png) [@Reymundo911](https://qa.fmod.com/u/Reymundo911)\
**Post date:** [December 20, 2022, 7:55pm UTC](https://qa.fmod.com/t/coloured-noises-drop-off-in-high-frequencies/19669/1 "2022-12-20T19:55:13Z")

</div>

Hello,

We have FMOD running in non-legacy output mode on Android (c++ core integration). FMOD version 2.02.12.

The issue we are running into is that higher frequencies on various sounds played by our app are being rounded when using FMOD and dont sound right, compared to the default android media player.

Regular player (top) vs fmod frequency (bottom)

 ![Screenshot 2022-12-20 at 2.53.57 PM](https://canada1.discourse-cdn.com/flex036/uploads/fmod/original/2X/e/e1ce4a2a0c6c9305fae615d8735d68d14ffe829f.jpeg)

We initialize FMOD this way on Android:  
m\_system-\>init(512, FMOD\_INIT\_NORMAL, extradriverdata: 0)

I am not aware of any special configurations we are inputting to FMOD. How can I fix this issue of frequency rounding off at the high end? There are no filters applied to the signal as far as I’m aware, but keep in mind I did not write this code, I am trying to debug it.

Thank you for any help provided, we can provide code if need be.

---

<div class="post-metadata">

**Author:** ![Leah\_FMOD](https://yyz2.discourse-cdn.com/flex036/user_avatar/qa.fmod.com/leah_fmod/32/3685_2.png) [@Leah\_FMOD](https://qa.fmod.com/u/Leah_FMOD)\
**Post date:** [December 23, 2022, 3:06am UTC](https://qa.fmod.com/t/coloured-noises-drop-off-in-high-frequencies/19669/2 "2022-12-23T03:06:55Z")

</div>

Hi,

This is likely a sample rate issue. If there’s a mismatch between your FMOD System’s sample rate and the sample rate of your host device, FMOD will upscale its output to the device’s sample rate. On Android, if you don’t specify a sample rate for the FMOD System to use, it’ll default to 24000Hz, thereby cutting all frequencies above nyquist (12000Hz). FMOD will then upscale the audio on output, which produces the interpolated frequencies above nyquist that exhibit the high frequency roll-off that you’ve noted.

Try setting your FMOD System’s samplerate to the appropriate level (e.g. 44100Hz, 48000Hz) that matches your audio assets and/or Android device with [System::setSoftwareFormat](https://www.fmod.com/docs/2.02/api/core-api-system.html#system_setsoftwareformat), and seeing if that solves your issue.

---

<div class="post-metadata">

**Author:** ![Reymundo911](https://avatars.discourse-cdn.com/v4/letter/r/59ef9b/32.png) [@Reymundo911](https://qa.fmod.com/u/Reymundo911)\
**Post date:** [December 23, 2022, 3:48pm UTC](https://qa.fmod.com/t/coloured-noises-drop-off-in-high-frequencies/19669/3 "2022-12-23T15:48:42Z")

</div>

It works, thanks for your help!
