How to play multiple music tracks in the title screen?

I'm wondering if there's a way to play several different tracks of music on the title screen at once, and let the music automatically fade-in and fade-out, so the next track comes in nice and easy. Is there a way to do this? Or maybe a free plugin that can help? Newbie btw.
As far as I am aware this cannot be done purely in the editor. However, I am leaving this here in case I'm wrong. If it turns out that you do in fact need a plugin, please Report this post and ask for the thread to be moved ot JS Plugin Requests.
Moved to: JS Plugin Requests[MOVE][/MOVE]
@Legend20 Updated my plugin Conditional Title Music to version 1.17 to allow the usage of common events on the title screen. You can use that to create a customized audio play list.

Within the setup of the plugin, go into 'Play List', and create a single entry. Within the entry go into the 'Event List' and select the common event you want to use, then go back and set the 'Play Condition' to : true. Now that event will always run when the title screen loads up.

The following is an example of how to fade in and fade out two BGM files within that common event :

Code:
◆Comment:// Create Label to Return to Later ...
◆Label:bgmStart
◆Comment:// Play BGM A
◆Play BGM:Some-Dreamy-Place_Looping (0, 90, 0)
◆Comment:// Fade-In BGM A (2 Seconds)
◆Script:AudioManager.fadeInBgm(2);
◆Play BGM:Some-Dreamy-Place_Looping (45, 90, 0)
◆Comment:// Wait on bgmBuffer (2 Seconds)
◆Wait:125 frames
◆Comment:// Wait for BGM A to Reach [30 Seconds]
◆Loop
  ◆If:Script:AudioManager._bgmBuffer.seek() >= 30
    ◆Break Loop
    ◆
  :End
  ◆Wait:1 frame
  ◆
:Repeat Above
◆Comment:// Fade-Out BGM A (2 Seconds)
◆Fadeout BGM:2 seconds
◆Comment:// Wait for Fade-Out (2 Seconds)
◆Wait:125 frames
◆Comment:// Play BGM B
◆Play BGM:Unforgiving-Himalayas_Looping (0, 90, 0)
◆Comment:// Fade-In BGM B (2 Seconds)
◆Script:AudioManager.fadeInBgm(2);
◆Play BGM:Unforgiving-Himalayas_Looping (45, 90, 0)
◆Comment:// Wait on bgmBuffer (2 Seconds)
◆Wait:125 frames
◆Comment:// Wait for BGM B to Reach [30 Seconds]
◆Loop
  ◆If:Script:AudioManager._bgmBuffer.seek() >= 30
    ◆Break Loop
    ◆
  :End
  ◆Wait:1 frame
  ◆
:Repeat Above
◆Comment:// Fade-Out BGM B (2 Seconds)
◆Fadeout BGM:2 seconds
◆Comment:// Wait for Fade-Out (2 Seconds)
◆Wait:125 frames
◆Comment:// Return to Top; Re-Start
◆Jump to Label:bgmStart
I'm wondering if there's a way to play several different tracks of music on the title screen at once, and let the music automatically fade-in and fade-out, so the next track comes in nice and easy. Is there a way to do this? Or maybe a free plugin that can help? Newbie btw.


It wouldn't be too hard to do outside of RPG Maker. Just use a .wav file editor like Audacity to turn your several tracks into one track.
It wouldn't be too hard to do outside of RPG Maker. Just use a .wav file editor like Audacity to turn your several tracks into one track.
You make a great point. I'll see if that works.

@Legend20 Updated my plugin Conditional Title Music to version 1.17 to allow the usage of common events on the title screen. You can use that to create a customized audio play list.

Within the setup of the plugin, go into 'Play List', and create a single entry. Within the entry go into the 'Event List' and select the common event you want to use, then go back and set the 'Play Condition' to : true. Now that event will always run when the title screen loads up.

The following is an example of how to fade in and fade out two BGM files within that common event :

Code:
◆Comment:// Create Label to Return to Later ...
◆Label:bgmStart
◆Comment:// Play BGM A
◆Play BGM:Some-Dreamy-Place_Looping (0, 90, 0)
◆Comment:// Fade-In BGM A (2 Seconds)
◆Script:AudioManager.fadeInBgm(2);
◆Play BGM:Some-Dreamy-Place_Looping (45, 90, 0)
◆Comment:// Wait on bgmBuffer (2 Seconds)
◆Wait:125 frames
◆Comment:// Wait for BGM A to Reach [30 Seconds]
◆Loop
  ◆If:Script:AudioManager._bgmBuffer.seek() >= 30
    ◆Break Loop
    ◆
  :End
  ◆Wait:1 frame
  ◆
:Repeat Above
◆Comment:// Fade-Out BGM A (2 Seconds)
◆Fadeout BGM:2 seconds
◆Comment:// Wait for Fade-Out (2 Seconds)
◆Wait:125 frames
◆Comment:// Play BGM B
◆Play BGM:Unforgiving-Himalayas_Looping (0, 90, 0)
◆Comment:// Fade-In BGM B (2 Seconds)
◆Script:AudioManager.fadeInBgm(2);
◆Play BGM:Unforgiving-Himalayas_Looping (45, 90, 0)
◆Comment:// Wait on bgmBuffer (2 Seconds)
◆Wait:125 frames
◆Comment:// Wait for BGM B to Reach [30 Seconds]
◆Loop
  ◆If:Script:AudioManager._bgmBuffer.seek() >= 30
    ◆Break Loop
    ◆
  :End
  ◆Wait:1 frame
  ◆
:Repeat Above
◆Comment:// Fade-Out BGM B (2 Seconds)
◆Fadeout BGM:2 seconds
◆Comment:// Wait for Fade-Out (2 Seconds)
◆Wait:125 frames
◆Comment:// Return to Top; Re-Start
◆Jump to Label:bgmStart
I tried doing this, and it works, but the problem is when I press "Options", ect. It stops the music and when I leave options, it skips to the next song.
You make a great point. I'll see if that works.

You say you're a newbie so I'll mention you may need to convert .ogg files to .wav files and then back again. Lots of places where you can do that for free online.
You say you're a newbie so I'll mention you may need to convert .ogg files to .wav files and then back again. Lots of places where you can do that for free online.
Your idea works, but there's a big delay before the music starts, which I'm assuming is because it needs to load the entire file. So about 15 seconds of the player just waiting on the title screen until the music appears. Do you have any idea to get rid of the delay? Or make it pay sooner?
Your idea works, but there's a big delay before the music starts, which I'm assuming is because it needs to load the entire file. So about 15 seconds of the player just waiting on the title screen until the music appears. Do you have any idea to get rid of the delay? Or make it pay sooner?


I haven't had any delay issues, but apparently lots of other folks have.

Some possibilities:


I'd be interested to know if any of these work for you.

Cheers!

Original thread: https://forums.rpgmakerweb.com/threads/how-to-play-multiple-music-tracks-in-the-title-screen.117638/