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):
- create and initialize the system,
system->init(100, FMOD_INIT_NORMAL, 0);
- create the sound
system->createSound("drumloop.wav", FMOD_DEFAULT, 0, &sound1);
- play the sound
system->playSound(FMOD_CHANNEL_FREE, sound1, false, &channel);
- now I start defining the DSP effect I want to add (to the whole mix), for example:
- add it and activate it
- 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!
- melante asked 12 years ago