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 > All my mp3 sounds with maxmod... how to? [solved]

#166778 - Emmanuel - Tue Feb 17, 2009 6:03 pm

Well, I have my music in mp3... but:
-Maxmod reads modules and wav... not mp3
-Wintermute recommends not using mp3
-Converting to wav gives me a huge 13mb .wav file... which gets me a compilation time error about not fitting in ewram...
-Googling, it seems mp3 can't be converted to mod (though the inverse is possible... but I don't care about the inverse)

I've got no idea what to do... how can I get those mp3 soundtracks play in the ds, the best way possible?
*Notice: The soundtracks are supposed to be used both in menu screens, and the actual game... which will likely consume good amounts of resources... and I'm aiming for multiplayer (DS-dS and Wi-Fi) support. And they will be loaded from FAT or EFS...


Last edited by Emmanuel on Wed Feb 18, 2009 2:21 pm; edited 1 time in total

#166779 - hacker013 - Tue Feb 17, 2009 6:17 pm

if you load them from fat or efs then you can use wavs and the wav streamer found here on this forum, or you update aslib to the newest devkitARM. (aslib has mp3 support).
_________________
Website / Blog

Let the nds be with you.

#166784 - sverx - Tue Feb 17, 2009 7:30 pm

Emmanuel wrote:
Notice: The soundtracks are supposed to be used both in menu screens, and the actual game... which will likely consume good amounts of resources... and I'm aiming for multiplayer (DS-dS and Wi-Fi) support. And they will be loaded from FAT or EFS...


I don't know if it's possible to achieve streaming sound from FAT/EFS (mp3 even worse) while you do a lot of other stuff. I think you should use modules instead... you can ask some tracker musician for help, or use some already tracked modules instead of your mp3s...
_________________
libXM7|NDS programming tutorial (Italiano)|Waimanu DS / GBA|A DS Homebrewer's Diary

#166799 - Emmanuel - Wed Feb 18, 2009 2:21 pm

sverx wrote:

I don't know if it's possible to achieve streaming sound from FAT/EFS (mp3 even worse) while you do a lot of other stuff.


So, wav is more likely than mp3 to work... thanks...

I'll be using the wav streamer and see how it goes

#166800 - hacker013 - Wed Feb 18, 2009 2:34 pm

ok
_________________
Website / Blog

Let the nds be with you.