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.

Dark GDK / First Post: Altering mp3 volume while its playing? Possible or no?

Years of Service
User Offline
Joined: 26th Mar 2013
Posted: 26th Mar 2013 03:20
So... i've been in C++ for about a year now and by far the most advanced in my class and i seem to just get this stuff. I've started fooling around with sound files and.. well i'll just let the code speak.

The purpose is to play for 15 seconds starting at a volume of 25, increasing to 100, then fading out to 0. Help much appreciated.

Communism is not love. Communism is a hammer which we use to crush the enemy. -Mao Zedong
Years of Service
User Offline
Joined: 1st Dec 2002
Location: Spain
Posted: 31st Mar 2013 12:58
Use dbSetMusicVolume
If you want to control time, pick it's value with dbTimer() and start measuring from there

Login to post a reply

Server time is: 2023-06-04 18:06:37
Your offset time is: 2023-06-04 18:06:37