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 > libmikmod release

#108352 - Stonebone - Tue Nov 07, 2006 11:39 pm

I've decided to release my libmikmod port for Nintendo DS that we use for playing music in the tetattds project. The software mixer is slow and the hardware mixer is buggy, but it's still usable.

Download here:
http://www.itstud.chalmers.se/~larssten/nds/

I don't have much time to work on this anymore, so if anyone want to look into the bugs of the hardware mixer it would be nice.

#108365 - Payk - Wed Nov 08, 2006 2:33 am

Nice one...does it uses arm7 for playing?

#108375 - Stonebone - Wed Nov 08, 2006 7:19 am

Depends on what you mean. The software mixer does its processing and mixing on ARM9, and ARM7 plays back the result. In the hardware mixer the module is still running on ARM9 but instead it tells ARM7 what to play on the different sound channels.

#108386 - Dark Knight ez - Wed Nov 08, 2006 11:11 am

Hmm... interesting.
With the hardware mixer, can you limit the amount of hardware channels it uses to play? I mean, soundeffects playing at the same time is usually desired. Too bad it's kind of buggy as you stated.

#108389 - OOPMan - Wed Nov 08, 2006 12:41 pm

Is this libmikmod release going to continue to be developed? Can we expect the bugs, etc to be cleared up eventually?
_________________
"My boot, your face..." - Attributed to OOPMan, Emperor of Eroticon VI

You can find my NDS homebrew projects here...

#108390 - Stonebone - Wed Nov 08, 2006 12:55 pm

Dark Knight ez wrote:
Hmm... interesting.
With the hardware mixer, can you limit the amount of hardware channels it uses to play? I mean, soundeffects playing at the same time is usually desired. Too bad it's kind of buggy as you stated.
Yeah it uses hardware channels 0 to x-1 where x is the number of channels in the module. It should also be possible to allocate channels and play sound effects through mikmod, but I have never tried this.

#108391 - Stonebone - Wed Nov 08, 2006 1:01 pm

OOPMan wrote:
Is this libmikmod release going to continue to be developed? Can we expect the bugs, etc to be cleared up eventually?
If someone sends bugfixes to me I can release new versions, but I don't think I will have time to track down the bugs myself. If you have questions about the source code or so feel free to ask.