0
0

Has someone managed to change the tempo without changing the pitch, while keeping the soundquality acceptable?

I know I have to use setFrequency and FMOD_DSP_PITCHSHIFT_PITCH but I haven’t had a good result yet.

Brett, if you can give a headup for the settings, this would be greatly appreciated 😉

Thanx in advance!

Marco

  • You must to post comments
0
0

Yes that is what you use, I have had pretty acceptable results doing that, unless you’re trying to pitch bend a whole octave or something. FFT shifting is destructive and is not meant for such extremes.

  • You must to post comments
0
0

Bit of a thread revival I know, but I too am experiencing some sound quality loss. Is this simply unavoidable? :/

Also, being insecure as I am, could you validate this code? Seems to work…
[code:d0k0xo9t]
float frequency;
float newfrequency;

fchannel->getFrequency(&frequency);
newfrequency = (frequency + (frequency*0.1f));
fchannel->setFrequency(newfrequency);

fsystem->createDSPByType(FMOD_DSP_TYPE_PITCHSHIFT, &fdsp);
fdsp->setParameter(FMOD_DSP_PITCHSHIFT_PITCH, 0.9f);
fdsp->setActive(true);
fchannel->addDSP(fdsp);
[/code:d0k0xo9t]

  • You must to post comments
0
0

It’s a lossy conversion, so yes i havent changed what i said before. You can try increasing the size of the FFT thats about all.

  • You must to post comments
0
0

How does one increase the size of the FFT?

  • You must to post comments
0
0

In FMOD Pitch Shifter, set the FFT Size param (probably param 1, 0 indexed) from 0.2 to a value that works for you.

  • You must to post comments
0
0

Much obliged :)

  • You must to post comments
Showing 6 results
Your Answer

Please first to submit.