Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

Music & Sound FX / Improving music fade in-fade out

Years of Service
User Offline
Joined: 1st Dec 2002
Location: Spain
Posted: 28th Oct 2007 12:39
Hey, glad to see this new forum.

I'd like to revive an old question I posted at the DBPro forum, just in case someone has something new to contribute.

This was it:

"set music volume" only accepts integers as volume. That represents a jump from 0 to 1 when fading in and out.

That could be said as that "1" is the minimum volume for a music, and that is not low enough to make a good fade effect (in or out).

So when fading (setting music volume), the music "abruptly" starts or ends. Well, not very abruptly, but it can be noticed.

Suggested solutions were:

to have modified the volume previously with an external application, but sometimes music must be turned off unexpectedly, so this wouldn't be a perfect solution.

to use 200 as maximum volume, so the 0-1 volume 'jump' would be halved... Perhaps the best workaround by now.

Here is the old post with code & media examples:

Any comments are appreciated

Login to post a reply

Server time is: 2019-07-19 08:06:39
Your offset time is: 2019-07-19 08:06:39