gbadev.org forum archive

This is a read-only mirror of the content originally found on forum.gbadev.org (now offline), salvaged from Wayback machine copies. A new forum can be found here.

DS development > libntxm: Syncing gameplay with music?

#130007 - FireSlash - Wed May 30, 2007 1:53 am

I'm trying to sync gameplay against the song playing with libntxm, however the lib itself doesn't seem to have any native support for this. Further, I can't existing structure I can call upon from the arm9 that would give me any solid indication of song positioning. I tried using demokit.c to feed off the timers but much to my dismay the arm7/9 use separate timers.

I'm not afraid of recompiling the lib, but I can't find a simple way of doing it without major reconstruction or additions to the arm9/7 communication structures, which I don't understand nearly enough to attempt.

Anyone have any ideas on doing this?
_________________
FireSlash.net