Fade In/out

Setting fade out with the fmod internal functions doesn't work correct (or is to complicated, or I'm too...), so i decided to do this with my own fade in/out function (taken from my old Delphi implementation)