• Just a reminder that providing specifics on, sharing links to, or naming websites where ROMs can be accessed is against the rules. If your post has any of this information it will be removed.
  • Ever thought it'd be cool to have your art, writing, or challenge runs featured on PokéCommunity? Click here for info - we'd love to spotlight your work!
  • Dawn, Gloria, Juliana, or Summer - which Pokémon protagonist is your favorite? Let us know by voting in our poll!
  • Welcome to PokéCommunity! Register now and join one of the best fan communities on the 'net to talk Pokémon and more! We are not affiliated with The Pokémon Company or Nintendo.

[Other] Looped songs get out of sync

Exodrake

The Manliest Chick that Ever Manlied
  • 163
    Posts
    12
    Years
    • Seen Nov 30, 2016
    Hello Pokecommunity, I'm having an issue with GBA music hacking where if I code a loop into the songs (the loop points are all on the same measure), the song gets out of sync on each successive loop. Every song I've tried has had this problem.

    The song I'm working with is a MIDI of Pendulum's "Crush", which I've minced to 10 tracks and removed some notes because they were sounding weird in the GBA. The track itself sounds good, but gets out of sync when it loops. Also, it slows down the tempo of the song following it (or I get a runtime error when I try to play the following song), no matter where I point the song data to.

    I have messed around with a few simpler MIDIs (one of the Filgaia Overworld theme from the original Wild Arms), and they ALL have this syncing issue. But the simpler ones don't ruin neighboring songs. I can simplify that .s file if need be, but if I can't make it loop properly then that's a deal breaker.

    I'd post the .s file but I need to make at least 15 posts to post links and I cannot attach it either, so I pasted the code inside of these spoiler tags.
    Spoiler:
     
    Back
    Top