Taking a closer look at the documentation, you may have to use the python command version of starting music (renpy.music.play) to use "tight", as far as I can tell. (Haven't taken the time to test it myself yet. Not sure how the base command could do it... Maybe "tight=True"?) So you'd have to have "loop" and "tight" set to be true in the track to be faded out when it first starts to play. Then, you make sure to use one command to start the next track (see below code block). I may have to look into to myself.
Code: Select all
play fadein fadeout ## one command, might work
stop fadeout ## two commands to swap tracks, we know this doesn't work
play fadein
Alternatively, you can use multiple audio channels to get around the "one track per channel" limitation. (The raw "audio" channel can have many files playing, but no ability to stop playing sounds mid-track.) After looking up some Ren'Py crossfade stuff, I found these:
http://sleepyagents.blogspot.com/2015/0 ... racks.html
https://pastebin.com/Cn7xMcu0
Basically, a summary:
Step 1: Start playing track #1 on one music channel.
Step 2A: Start playing track #2 on a second music channel.
Step 2B: Fade out the first music channel.
If there are no pauses or anything between the two parts of step 2, it will sound like a cross fade to the user (a delay in milliseconds).
The key here is that you need to define a second music channel, but that is in these links and the main documentation. So if you just need a cross fade, maybe try this method if the "tight" command continues to have no obvious effect.
Side note about multiple music channels: you may need to modify your settings screen if you use this method. Since the music is played on multiple tracks, you'll have to connect the music volume bar to all the related channels. It should be an easy change from a single entry to a (Python) list of entries, but I've not tested it myself yet.
Main Website
Includes information about and links to many of my current and past projects.
Major Game Projects
[
Nightshade] Eldritch Academy, Eldritch University, Blooming Nightshade, Flowering Nightshade, Life as Designed
[
Team Despair] Corpse Party D2 series