Page 1 of 1

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

Posted: Thu Nov 03, 2011 8:39 pm
by Dwedit
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.

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

Posted: Fri Nov 04, 2011 12:54 am
by mtheall
Maybe this will answer your question

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

Posted: Fri Nov 04, 2011 7:46 am
by Dwedit
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.

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

Posted: Sat Nov 05, 2011 8:44 am
by mtheall
Do you get the same results if you try it on DS?

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

Posted: Sat Nov 05, 2011 4:58 pm
by Dwedit
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.