I couldnt find anything concrete, so all help is welcome:
I am trying to set up a simple power crossfade with FMOD Ex 4.04 for two tracks, and I wanted to check here to see if its already taken care of and/or anyone has some sample code.
- budfroggy asked 12 years ago
Not using the low level API – you have to use Channel::setVolume yourself.
If using fmod designer, thats pretty easy using the sound designer tool, but that may not be what you are after.
We are about to add a new function though, Channel::setVolumePoints(FMOD_VOLUMEPOINT *points, int numpoints, bool stopsoundatend);
The structure would contain volume and time offset, and also a bool to say if it is a sustain or not. This allows ADSR.
It might not just be volume either, we can probably make it so that it handles pitch and pan and a few other things as well.
Please login first to submit.