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 homebrew announcements > XM7Play preview - simple XM Player, based on libxm7

#165597 - sverx - Mon Dec 29, 2008 12:08 pm

Hi! I've spent some hours these days to build this little tool (...forgive the UI...) that plays XMs directly from your FAT device. It's twice useful:

- it gives you a chance to listen to your XMs on the DS before you incorporate them in your project
- it gives me a chance to have some feedback (so please let me know if some modules doesn't load / doesn't play correctly)

Up, down, left and right keys navigate the directory, A enter directory / load the XM file, B to stop it.

The C source code to load XM from file to memory is included in the ZIP, which is here, in case somebody want to write its own player (hint! hint! ;) )

Plenty of XMs here, on The Mod Archive

... and of course that wouldn't have been possible without libfat so thanks a lot, chishm! :)
_________________
libXM7|NDS programming tutorial (Italiano)|Waimanu DS / GBA|A DS Homebrewer's Diary

#165716 - sverx - Mon Jan 05, 2009 10:12 am

IMPORTANT UPDATE!
There were errors that were blocking the program after failures in loading a module. Now you're able to resume and choose another tune.
No other changes. Download at the same link.

:)
_________________
libXM7|NDS programming tutorial (Italiano)|Waimanu DS / GBA|A DS Homebrewer's Diary

#165902 - sverx - Mon Jan 12, 2009 12:18 pm

Hi! Some interesting updates, today :)

1st: Now it loads also squeezed XMs. No more loading errors, hopefully. :)

2nd: It includes a little sample optimizer (well, I'm still working on it...) that optimizes samples that would probably have detuning problems (or even don't play at all) if played without manipulation. (You can temporary disable the optimizer by holding L or R key while pressing A to play a module, this way you can hear the differences)

3rd:It uses libnds 1.3.1 . Well, not so important for you, actually ;)

Very important: If you use this tool to test the XMs you want to use in your homebrew and you read that a sample has been optimized, then optimization of the sample directly in the XM is recommended so that libxm7 can play it properly. Read the section "Getting the most of your tune" of the libxm7 documentation for more details.

Feedback appreciated, especially if you find a module that can't be loaded. And sorry, there's still no GUI...

Download is always here, source for loading XMs included.


?
_________________
libXM7|NDS programming tutorial (Italiano)|Waimanu DS / GBA|A DS Homebrewer's Diary

#166984 - sverx - Wed Feb 25, 2009 12:25 pm

Hi! XM7Play new version today, r2009-004.

1) Based on libXM7 beta 0.93, so now the support of XM effects is complete :)

2) The included sample optimizer is also complete, so now the samples that are likely to have detuning problems will be manipulated to play as they should. (affect samples with loops... of course it's possible to disable the optimizer, just like it was before)

3) ... no Graphical UI. Contact me if you're interested in writing one! :)

Important: the section "Getting the most of your tune" of the libXM7 documentation has been rewritten... read the previous post for details.

Download is at the same location, source of the function loading XMs is always included.


?
_________________
libXM7|NDS programming tutorial (Italiano)|Waimanu DS / GBA|A DS Homebrewer's Diary

#166985 - hacker013 - Wed Feb 25, 2009 1:01 pm

I think i can write one for you :) i mean a GUI
_________________
Website / Blog

Let the nds be with you.

#167123 - sverx - Mon Mar 02, 2009 12:57 pm

hacker013 wrote:
I think i can write one for you :) i mean a GUI


you can get the XM loading function from FAT here and start. When you've got something ready drop a message, ok?



?
_________________
libXM7|NDS programming tutorial (Italiano)|Waimanu DS / GBA|A DS Homebrewer's Diary