SRB2 Message Board  

Go Back   SRB2 Message Board > Sonic Robo Blast 2 > Editing Help

Reply
 
Thread Tools Search this Thread
Old 10-09-2020   #1
thomadash
Default SRB2K Music Looping Help

I'm making a music mod for SRB2K. I've made sure that I got the correct loop points for all tracks, yet when I test them in-game, the loop point is very far off from where it's supposed to loop back to. I've tried everything but it just won't go away. This is my first ever SRB2K mod, so it would really help if someone could help identify the problem so I can fix it! https://drive.google.com/drive/folde...mj?usp=sharing
thomadash is offline   Reply With Quote
Old 10-09-2020   #2
Zwip-Zwap Zapony
 
Zwip-Zwap Zapony's Avatar
Default

Quote:
Originally Posted by thomadash View Post
[...] I've made sure that I got the correct loop points for all tracks, yet when I test them in-game, the loop point is very far off from where it's supposed to loop back to. [...] [Download link]
Your music tracks (at least one of them) have a sample rate of 48000 hertz. Since version 2.1.12 of SRB2 (which also applies to SRB2Kart), the "LOOPPOINT"-related methods of looping music has only properly supported music with a sample rate of 44100 hertz.


Either use "LOOPMS" instead of "LOOPPOINT" to set a loop point (in 1000ths of a second), change the music to have a sample rate of 44100 hertz instead of 48000 (while also adjusting "LOOPPOINT" to fit the new sample point to loop at... but if you'll have to modify the loop tag anyway, you might as well change it to "LOOPMS" instead), or do both of those things (which is the officially preferred option... even if vanilla SRB2 itself strangely doesn't do so).
Zwip-Zwap Zapony is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 10:10 AM.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2020, vBulletin Solutions, Inc.