using TXTP format to match Nintendo Music editing by VGSB at 8:15 PM EDT on May 2, 2025
https://github.com/vgmstream/vgmstream/blob/master/doc/TXTP.md

I'm trying to match Nintendo Music as closely as possible using TXTP. For example, the track Mario Kart 7
"Selection Screen" is approximately the following:
STRM_MENU_SINGLE_MULTI.bcstm#C1,2,3,4,5,6#@crosstrack2

However, the actual track cross-fades back to C1,2 after C4,5 and repeats the cycle before fading out. I tried a lot of things but can't figure out how to do it.

One thing that would really help unlock a lot of possibilities is being able to cross-fade between two different files rather than streams within the same file. Is that possible?

How does one set the length of the cross-fades?

And is it possible to reference the LOOP_START without typing the static number manually?

edited 8:16 PM EDT May 2, 2025
by bnnm at 5:35 PM EDT on May 5, 2025
I tried what you posted (plus extra spaces between commands) and it sounds correct to me. If I play forever it goes 1+2 > 3+4 > 5+6 then stays like that forever.

STRM_MENU_SINGLE_MULTI.bcstm #C1,2,3,4,5,6 #@crosstrack 2 #L

You can mix any files as channels via "mode = layers", then use "commands = #crosstrack 2" use those layered channels.

You can't change the length of each loop but in the future there will probably be a simpler way to mix files.
by VGSB at 7:59 PM EDT on May 5, 2025
Thank you, here's a closer match to Nintendo Music based on what you shared:
STRM_MENU_SINGLE_MULTI.bcstm#C1,2,3,4,5,6
STRM_MENU_SINGLE_MULTI.bcstm#C1,2,3,4,5,6
mode = layers
commands = #@crosstrack 2

which goes:
1+2 > 3+4 > 5+6 > 1+2 > 3+4 > 5+6 (fadeout)

However, I don't understand how to use this approach for two completely different stereo files, which would allow for more power.

Not the best example, but how would one cross-fade one stereo file (STRM_BN_HONEY_STAGE_N.bcstm) into another (STRM_BN_HONEY_STAGE_F.bcstm)?

And how does one control the duration of the cross-fade itself to where the last 3 seconds of a file are faded out simultaneously when the first 3 seconds of a different file are faded in?

edited 8:00 PM EDT May 5, 2025
by bnnm at 4:15 PM EDT on May 7, 2025
You could crossfade the same way, layer 2 different files, then since that would play them at the same time, you can "move" the 2nd file using #p so it starts late. But crossfade isn't really meant for such complex cases.

You can't change duration or anything about crossfade.


Go to Page 0

Search this thread

Show all threads

Reply to this thread:

User Name Tags:

bold: [b]bold[/b]
italics: [i]italics[/i]
emphasis: [em]emphasis[/em]
underline: [u]underline[/u]
small: [small]small[/small]
Link: [url=http://www.google.com]Link[/url]

[img=https://www.hcs64.com/images/mm1.png]
Password
Subject
Message

HCS Forum Index
Halley's Comet Software
forum source