Maxmod fails to correctly play "Dancing Mad" IT file by Virt

support for the gba/nds sound library from www.maxmod.org

Moderator: eKid

Post Reply
Dwedit
Posts: 40
Joined: Sun Jan 06, 2008 4:06 am

Maxmod fails to correctly play "Dancing Mad" IT file by Virt

Post by Dwedit » Thu Nov 03, 2011 8:39 pm

Maxmod screws up while playing "Dancing MAD 1.it" by Virt, in some sections of the song, it stops playing notes until the pattern ends.
The first time it screws up is at pattern #5 (the 8th pattern in the song sequence), it stops at the first note until the pattern expires.
The next time it screws up is at pattern #25, then at #28, #31.

Is this a number of channels limitation? This mod has 35 total channels, but it never plays that many simultaneously. I think in the places where it screws up, there are more than 16 channels playing simultaneously.

Link to Mod file: Dancing Mad 1 by Virt (4MB), created Dec 31 2001.

mtheall
Posts: 210
Joined: Thu Feb 03, 2011 10:47 pm

Re: Maxmod fails to correctly play "Dancing Mad" IT file by

Post by mtheall » Fri Nov 04, 2011 12:54 am

Maybe this will answer your question

Dwedit
Posts: 40
Joined: Sun Jan 06, 2008 4:06 am

Re: Maxmod fails to correctly play "Dancing Mad" IT file by

Post by Dwedit » Fri Nov 04, 2011 7:46 am

I am quite aware of how the NDS has 16 hardware sound channels, but that is not relevant. Maxmod on the NDS automatically allocates channels between software and hardware as needed, as seen in the Maxmod demo program.

I was testing this on the GBA, where all channels are mixed in software. CPU usage is at approximately 25-50% for this song. The problems I am having don't seem to come from playing too many channels simultaneously, I just threw that out as an idea.

mtheall
Posts: 210
Joined: Thu Feb 03, 2011 10:47 pm

Re: Maxmod fails to correctly play "Dancing Mad" IT file by

Post by mtheall » Sat Nov 05, 2011 8:44 am

Do you get the same results if you try it on DS?

Dwedit
Posts: 40
Joined: Sun Jan 06, 2008 4:06 am

Re: Maxmod fails to correctly play "Dancing Mad" IT file by

Post by Dwedit » Sat Nov 05, 2011 4:58 pm

Soundbank is over 4MB when compiled for the NDS, which is too big to fit into main memory. Soundbank is only 2MB when compiled for the GBA, but the GBA has 32MB of ROM to work with.

Post Reply

Who is online

Users browsing this forum: No registered users and 8 guests