Fade In BGM?

Status
Not open for further replies.

22pepperjack

Veteran
Veteran
Joined
Jun 18, 2013
Messages
235
Reaction score
72
First Language
English
Primarily Uses
Ok, so I've been messing around with the soundtracks for my game and i keep noticing one small detail. when a new BGM is played it immediately starts the song at the designated volume. this is kind of obnoxious when i play songs that have a sudden start. is their a way to fade IN the bgm? (sorry if this is the wrong forum, but I'm pretty sure i got it right this time.) thanks in advance. i know its a stupid question, but i honstly can't find the answer.
 

Shaz

Veteran
Veteran
Joined
Mar 2, 2012
Messages
40,098
Reaction score
13,704
First Language
English
Primarily Uses
RMMV
There is no Fade-in BGM or BGS command. I don't know if it could be done via scripting, as the Audio class has fade-out commands, but not fade-in commands.
 

22pepperjack

Veteran
Veteran
Joined
Jun 18, 2013
Messages
235
Reaction score
72
First Language
English
Primarily Uses
yeah i keep noticing that its only fade out. so i was wondering if it could be done in game, or through scripts. but as you confirmed not possible in game. i wonder if there is a script for it.
 
Joined
Jul 20, 2013
Messages
2
Reaction score
0
First Language
English
Primarily Uses
I am also searching for a way to do this.
 

West Mains

Veteran
Veteran
Joined
Feb 24, 2013
Messages
1,003
Reaction score
96
First Language
English
Primarily Uses
Sadly if you want a fade in, youll have to edit the actual audio file and put a fade-in yourself.
 

22pepperjack

Veteran
Veteran
Joined
Jun 18, 2013
Messages
235
Reaction score
72
First Language
English
Primarily Uses
Hmm... idea... ill have to test it... but would making a series of events that increase the volume of the audio work? say starts at volume 20. then half a second later switches to volume 30 and so on until the desired volume is reached. feel free to test this as is will probably occur before im able to test it myself. or heck, throw a spin on it and expirament. anywyas, ill test it about a day and a half from now. c'ya!
 

Zalerinian

Jack of all Errors
Veteran
Joined
Dec 17, 2012
Messages
4,696
Reaction score
935
First Language
English
Primarily Uses
N/A
Sadly if you want a fade in, youll have to edit the actual audio file and put a fade-in yourself.
No, you can write a script for it, just like there's a script for fading out. You can't see the script, but it's programmed to do that, so it definitely can be done that it fades in.
 

ct_bolt

Creator
Veteran
Joined
May 3, 2012
Messages
954
Reaction score
520
First Language
Javascript
Primarily Uses
RMMZ
Ok, so I've been messing around with the soundtracks for my game and i keep noticing one small detail. when a new BGM is played it immediately starts the song at the designated volume. this is kind of obnoxious when i play songs that have a sudden start. is their a way to fade IN the bgm? (sorry if this is the wrong forum, but I'm pretty sure i got it right this time.) thanks in advance. i know its a stupid question, but i honstly can't find the answer.
I have a made script for you. Well actually I just added on to my timer script. :)

Hmm... idea... ill have to test it... but would making a series of events that increase the volume of the audio work? say starts at volume 20. then half a second later switches to volume 30 and so on until the desired volume is reached. feel free to test this as is will probably occur before im able to test it myself. or heck, throw a spin on it and expirament. anywyas, ill test it about a day and a half from now. c'ya!
Thanks for the idea, I basically turned it into a script. ;)

yeah i keep noticing that its only fade out. so i was wondering if it could be done in game, or through scripts. but as you confirmed not possible in game. i wonder if there is a script for it.
There is now. See Demo Below  BD

There is no Fade-in BGM or BGS command. I don't know if it could be done via scripting, as the Audio class has fade-out commands, but not fade-in commands.
I have scripted something to accomplish this. See Demo Below. :rock-right:

I am also searching for a way to do this.
See my demo below. :)

Sadly if you want a fade in, youll have to edit the actual audio file and put a fade-in yourself.
I have scripted something that takes care of this problem. See Demo Below. :p

you can write a script for it, just like there's a script for fading out. You can't see the script, but it's programmed to do that, so it definitely can be done that it fades in.
Yes indeed it sure can be scripted... Demo Below. :cutesmile:

CT_Timer with Audio v2.5 Demo: Click Here

I will clean up the code to be more user-friendly soon.  ;)

Please direct any feedback/requests/comments regarding that script to this thread.

I still encourage more people to attempt and solve this problem & would like to know any other ways this can be achieved.

I'm sure there are more knowledgeable scripters that might have a simpler solution.

PS. I will also try to work on a script that will be completely separate from CT_Timer, that way you won't have to have a timer started to fade-in the audio.
 
Last edited by a moderator:

solaris1111

Veteran
Veteran
Joined
Jan 1, 2014
Messages
115
Reaction score
20
First Language
French
Primarily Uses
I found a trick for fade-in. Create a tiny silent ME and put it just before the BGM, the music will fade-in. The only problem with that is that you can't change the fade-in speed.
 
Last edited by a moderator:

Osoni

Villager
Member
Joined
Jan 3, 2013
Messages
13
Reaction score
0
First Language
English
Primarily Uses
One simple way to get a fade-in effect is to use BGM Save and BGM Replay.

>Save BGM

>Fadeout BGM: 2 sec. (or however long you want)

>put your other eventing stuff here

>Replay BGM (when you want the music to fade back in)
 

Shaz

Veteran
Veteran
Joined
Mar 2, 2012
Messages
40,098
Reaction score
13,704
First Language
English
Primarily Uses
RMMV
Osoni, please refrain from necro-posting in a thread. Necro-posting is posting in a thread that has not had posting activity in over 30 days. You can review our forum rules here. Thank you.
 
Status
Not open for further replies.

Users Who Are Viewing This Thread (Users: 0, Guests: 2)

Latest Threads

Latest Posts

Latest Profile Posts

Holy stink, where have I been? Well, I started my temporary job this week. So less time to spend on game design... :(
Cartoonier cloud cover that better fits the art style, as well as (slightly) improved blending/fading... fading clouds when there are larger patterns is still somewhat abrupt for some reason.
Do you Find Tilesetting or Looking for Tilesets/Plugins more fun? Personally I like making my tileset for my Game (Cretaceous Park TM) xD
How many parameters is 'too many'??
Yay, now back in action Happy Christmas time, coming back!






Back in action to develop the indie game that has been long overdue... Final Fallacy. A game that keeps on giving! The development never ends as the developer thinks to be the smart cookie by coming back and beginning by saying... "Oh bother, this indie game has been long overdue..." How could one resist such? No-one c

Forum statistics

Threads
105,857
Messages
1,017,018
Members
137,563
Latest member
MinyakaAeon
Top