0
0

I want to play a music-file/event from my .bank. I know how to make it loop but I want to know how to make a fall off effect when the event/music is stopped.

Do you know wich function or similar I have to call from C++ to archive that ? Do you know any tutorial ?

  • You must to post comments
0
0

You’ve posted under FMOD Ex, but you’ve mentioned loading a .bank file which only exists in a FMOD Studio. I’ll give you the FMOD studio answer:

1) Add AHDSR modulation to the master track volume in Studio tool:
a) Right click on the volume knob of the master track
b) Select ‘Add Modulation’ -> ‘AHDSR’
c) Adjust the last point of the graph to change the release time.

2) Call EventInstance::Stop() with the argument FMOD_STUDIO_STOP_ALLOWFADEOUT

  • You must to post comments
Showing 1 result
Your Answer

Please first to submit.