Extremely low audio quality when changing audio playback speed with lowlevel API.

In my case, I create ChannelGroup and add channels into it. I change the group playback rete using the following code:

FMOD::DSP* dsp; 
float speed = 1.5f;
system->createDSPByType(FMOD_DSP_TYPE_PITCHSHIFT, &dsp);
dsp->setParameterFloat(FMOD_DSP_PITCHSHIFT_PITCH, 1/speed);
group->addDSP(0, dsp);

the result is the audio group plays 1.5x faster as expected, but sound like highly compressed mp3 with low byterate. My original audio file is 320kbps mp3.

Hi ,
The pitch shift effect is not suited to high amounts of shift, so by default about 0.8 to 1.2 is recommended, but if you want to try and increase quality use FMOD_DSP_PITCHSHIFT_FFTSIZE to adjust the quality.