I would like to play different sounds at the same time with each sound having an individual effect i.e one sound with a filter and one with a reverb say. Is this possible if so how would i go about implementing this?
I am operating microsoft visual 9.0 on windows xp, using sound blaster xfi card.
- macgyver asked 8 years ago
If you can, check out FMOD Designer. It has a great GUI for adding FX to sounds. If you need to stick with the Ex API, check out Channel::addDSP. Even if you use Designer, Channel::addDSP is a good API to know if you ever want to add FX to groups of sounds (channel groups).
One more note. DSPs are awesome, but they can really eat up your CPU, esp on a PC. In general, I think you really ony want to do runtime DSPs if there’s something dynamic about them. If it’s the same DSP every time you play a wav, then often you’re better off just baking that into the wav itself.
For reverb in particular, the environmental reverb API is awesome. It’s pretty cheap and the fact that it changes as you move around the world makes it a very good use of CPU resources.
that’s great, i got the channel effects up and running, thanks. I did have a problem with the SFX dsp type in that the effects didnt work great i.e the room value worked but the decay time didnt work at all similarly with the rest of the type def’s..is there limitations on this type? Any idea on this?
- macgyver answered 8 years ago
Please login first to submit.