We are developing a speech program that use pre-recorded speech arranged in sound files.
Using the SetFrequency the playback speed can be altered. And using DSP it can be played back without pitch shift.
But I have some difficulties in getting this to work properly.
First the FMOD_DSP_PITCHSHIFT_PITCH only accepts values up to 2.0. This is only double speed. We want more than this. Maybe up to 4-5. This is because the words have been spoken in so slow and clearly.
Can anyone give me code in VB6 to increase the playback speed in steps up to 4 ? With no shift in pitch.
- ddebono asked 11 years ago
There is a reason it is limited. Because the quality of the effect degrades the more you try and shift it from its original source pitch.
If you want to do it more, chain multiple pitch shifters together. If you do this be prepared to use nearly 100% of your cpu just on audio.
You have mentioned this CPU usage before. But have not seen this cpu hog. Even on old machines. So that’s not a problem for us.
I have tried chaining more DSP’s, but are a little bit unsure about the values in the other DSP’s in the chain, and also values for SetFrequency to avoid pitch shift.
Have also experienced problems during playback that it suddenly shifts to a "’Donald’ voice when chaining DSP’s.
Would really appreciate if someone had some VB code example.
- ddebono answered 11 years ago
Please login first to submit.