Hello all.

I have just gone through the "effects" example provided in code samples and I thought I understood it correctly so I tried experimenting further but without any success. Obviously I am missing something but I can’t find out what.

Let’s go in order to see what I am doing step by step (it’s a simple C++ console program, at every step I check for FMOD errors but don’t get any):

  1. create and initialize the system,

system->init(100, FMOD_INIT_NORMAL, 0);

  1. create the sound

system->createSound("drumloop.wav", FMOD_DEFAULT, 0, &sound1);

  1. play the sound

system->playSound(FMOD_CHANNEL_FREE, sound1, false, &channel);

  1. now I start defining the DSP effect I want to add (to the whole mix), for example:

system->createDSPByType(FMOD_DSP_TYPE_ECHO, &dspecho);
dspecho->setParameter(FMOD_DSP_ECHO_DELAY, 50.0f);

  1. add it and activate it


  1. in the end, I update the system


Now, It seems to me I followed exactly the steps as in the "effects" example, nonetheless in my code I can just hear the music file being played without any effect whatsoever…. what am I missing? Or am I doing something in a wrong order?

Thank you very much for your help!

  • You must to post comments

You used the default, which is hardware, to load your sound. Use FMOD_SOFTWARE.

  • You must to post comments

Yeah, thanks!

  • You must to post comments
Showing 2 results
Your Answer

Please first to submit.