Thealexbarney / VGAudio

A library for encoding, decoding, and manipulating audio files from video games.
MIT License
219 stars 37 forks source link

BFSTM channels not exporting with the proper length #113

Open ghost opened 4 years ago

ghost commented 4 years ago

When I've been using VGAudio with BFSTM files (with multiple channels) and exported them, they don't seem to export with the original bfstm's time duration

For example, the track I was testing this on was 1:18 long, and what I got was 40 seconds long. Is there any way of stopping this?

Thealexbarney commented 4 years ago

Is the file actually 78 seconds long? Vgmstream's default setting is to loop the song once and fade out, so 40 seconds sounds like it could be the true length of the track

ghost commented 4 years ago

It doesn't fade out I don't think Edit: I'll post some files if you wish, here they are as examples: https://my.namejeff.com/pxIKsz79.bfstm (original BFSTM, file name was originally "BGM_MENU_LOCAL.bfstm" from Mario Kart 8 Deluxe

https://my.namejeff.com/Sgs2j4v6.wav (Here's channel 1 of the BFSTM, as you can see it's 40 seconds long despite the original BFSTM being 1:18 [subnote: all other 7 channels of the BFSTM are 40 seconds long])

Thealexbarney commented 4 years ago

The BFSTM you posted is only 40 seconds long. You're getting the 1:18 value because of vgmstream's settings in the media player you're using