Altered sounds during import

Hi ,
Some very specific sounds with harmonics and low frequencies in them can cause aliasing with a linear resampler.
The current fix for this is to set FMOD to use a higher quality sample rate converter/resampler at runtime. The code for this is

FMOD_ADVANCEDSETTINGS settings;
memset(&settings, 0, sizeof(settings));
settings.cbSize = sizeof(settings);
settings.resamplerMethod = FMOD_DSP_RESAMPLER_CUBIC;
gSystem->setAdvancedSettings(&settings);

just before any call to fmod initialization.

A better solution would be to have a high quality resampler button in studio to press (like the ‘stream’ button in the sound build properties), we’ll look at doing this in the future but you have a workaround.

1 Like