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.

DarkBASIC Professional Discussion / suggestion: music fade in-out

Author
Message
aristid
22
Years of Service
User Offline
Joined: 29th Oct 2002
Location:
Posted: 8th Oct 2004 07:49
how about a way to make music fade in and out?
it could be a flag in the play music and stop music commands or 2 seperate commands like:
fadein music 5, 2000 (2000 is millisecs)
there is currently no way to do this and sounds very unprofressional to abruptly cut the music

cheers.
aristides
NathanF
21
Years of Service
User Offline
Joined: 24th Mar 2004
Location:
Posted: 8th Oct 2004 07:53
Aint there volume or sumthing??

-Formerly DarkSephiroth-
aristid
22
Years of Service
User Offline
Joined: 29th Oct 2002
Location:
Posted: 8th Oct 2004 08:25
you can only set the vol before you start the music, cant change dynamically.
Oneka
21
Years of Service
User Offline
Joined: 24th Apr 2004
Location: Hampton,VA
Posted: 8th Oct 2004 09:28
in my code I can fade in and out music by changing the volume with coding...


Making better games everday!
Oh yeah and just so you know its Oh-nek-a not One-ka!
Vues3d on Kalimee
21
Years of Service
User Offline
Joined: 12th May 2004
Location: NYON (SWITZERLAND)
Posted: 8th Oct 2004 23:57
Sure you can... I have a fade-in fade-out music when beginning/closing a level...

Just hava a look here:



& you can change the amount, value & so on....
Hope this helps

Guido
http://www.vues3d.com
Van B
Moderator
22
Years of Service
User Offline
Joined: 8th Oct 2002
Location: Sunnyvale
Posted: 9th Oct 2004 00:38
I think it depends on what format your using, something certainly sticks in my mind about not being able to fade in or out when using .MP3's, but I imagine there's a way around this, like using a plugin to play the music which supports volume changing.


Van-B


Muhahahahaha.
David T
Retired Moderator
22
Years of Service
User Offline
Joined: 27th Aug 2002
Location: England
Posted: 9th Oct 2004 01:47
I got half way though doing a TPC for this. It's in my DBP Extra TPC which I just add commands that I'd like. I got something like this:



It's really easy to do in DB code using curvevalue() - but for some reason people like things as commands. If I ever finish it I'll let you know

Get 15 new commands, all the date / time commands left out of DBPro for free!
DOWNLOAD PLUGINS HERE: http://www.davidtattersall.me.uk/ and select "DarkBasic"

Login to post a reply

Server time is: 2025-06-08 03:46:41
Your offset time is: 2025-06-08 03:46:41