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 > LIBXM7 0.81

#165395 - sverx - Fri Dec 19, 2008 1:52 pm

Hi!

It's time to say I'm still working on libxm7, and it's time to release yet another (still beta) version: it's 0.81!

In this version more effects are supported, and the bugs that were discovered in beta ver. 0.59 should have been removed :)

A big effort has been put to assure good replay accuracy and, even if it's still an incomplete work in progress, I'm sure you'll notice that.

You can download the new demo (1489 KiB ZIP)
(edit: you can also check the video on YouTube (high quality recommended! [Thanks raina!])
and/or check all the details and download the library here.

Here are some images from the demo: the songlist, playing "Worse than this" tune, playing "Hurtless (part 1)" tune.

Finally, here's the complete changelog:
Code:
[add] Portamento slide effects (1xx, 2xx, E1x, E2x, X1x, X2x) are now supported.
[add] Portamento to note effect (3xx) is now supported.
[add] Portamento to note with volume slide effect (5xx) is now fully supported.
[add] Jump to position effect (Bxx) and Pattern break effect (Dxx) are now supported.
[add] Key off effect (Kxx) is now supported.
[add] Portamento to note volume column effect (Mx) is now supported.

[bug] istruments specified 'alone' (with no note) in the pattern now shouldn't lead to unpredictable
      results even when used when you never specified a note before in that channel.
      Also, they should now work even after key-offs of instrument with no envelopes.
[bug] effect Rxy (retrig note with volume slide) used at the same time when setting a volume on
      the volume column now should correctly reset the volume before every every retrig.
      "Memory effect", should work correctly now, even when only one of the values (x or y) is 0.
[bug] effect 0xy (Arpeggio) now keeps on working even in the 'extra ticks' added by an effect EEx
      (Pattern Delay) on the same line.
[bug] effect 9xx (sample offset) is now not ignored when used with a sample that has a loop.
[bug] libxm7 startSound() (internal) function has been renamed, so you don't have to rename yours.


Feedback is always appreciated!
_________________
libXM7|NDS programming tutorial (Italiano)|Waimanu DS / GBA|A DS Homebrewer's Diary


Last edited by sverx on Fri Dec 19, 2008 5:24 pm; edited 1 time in total

#165398 - gauauu - Fri Dec 19, 2008 3:33 pm

I ended up using this lib for my game Anguna, and was quite happy with it. Good work, sverx.

#165399 - sverx - Fri Dec 19, 2008 3:42 pm

gauauu wrote:
I ended up using this lib for my game Anguna, and was quite happy with it. Good work, sverx.


Thanks! And thanks for using it in your wonderful homebrew, that's good promotion! ;)
_________________
libXM7|NDS programming tutorial (Italiano)|Waimanu DS / GBA|A DS Homebrewer's Diary

#165401 - shaymanjw - Fri Dec 19, 2008 4:32 pm

I also used it in StarquakeDS - thanks Sverx.

#165402 - sverx - Fri Dec 19, 2008 5:25 pm

shaymanjw wrote:
I also used it in StarquakeDS - thanks Sverx.


Didn't know! Going to check it :)

... ah, I just added a link to a demo video on YouTube, in the 1st post...
_________________
libXM7|NDS programming tutorial (Italiano)|Waimanu DS / GBA|A DS Homebrewer's Diary

#165500 - sverx - Tue Dec 23, 2008 12:10 pm

shaymanjw wrote:
I also used it in StarquakeDS


The game is cool, but the tune is too simple... maybe you need help from some fellow tracker? Try to ask @ "The Mod Archive" forum, the "Wanted: Music for Projects" is the right section, I guess :)
_________________
libXM7|NDS programming tutorial (Italiano)|Waimanu DS / GBA|A DS Homebrewer's Diary

#165501 - shaymanjw - Tue Dec 23, 2008 12:59 pm

LOL - you're right about my music, I was on a tight deadline and I'm useless with anything musical...

#165504 - wintermute - Tue Dec 23, 2008 4:49 pm

I really hate to rain on your parade here, I know just how much work goes into something like this.

I've only had a brief look at your site but I can't seem to find an example project so I haven't really checked it out properly.

Does your library work with the most recent devkitARM releases? We've rearranged quite a bit of code and put together a decent interprocessor communication layer amongst other things.

We're also including an audio library with devkitARM that provides support for XM playing, among many other things. Source is provided on the SF releases and in the devkitPro SVN for reference - it should give you some idea how to make sure things will still work.

The other thing is that, since we're distributing maxmod along with the other libraries we now have a default arm7 core which has it's audio support built in. This is to make things much easier for programmers to add wifi and audio features to their own projects without having to deal with the arm7 themselves.

Have you considered the possibility of helping to improve maxmod instead of trying to support your own library independently? I'm sure there are probably features of your library that may be useful to maxmod & vice versa.

Again, sorry to put a downer on your day.
_________________
devkitPro - professional toolchains at amateur prices
devkitPro IRC support
Personal Blog

#165594 - sverx - Mon Dec 29, 2008 11:21 am

wintermute wrote:
I really hate to rain on your parade here ...


Hi, sorry for replying you so late, I wasn't on-line these days...

Well, it's true, I never prepared an example project, but theli did it, it's here, in the 0.59 beta version release topic, and should still be working since I didn't change anything 'outside' the library.

I still don't know if my library works with the most recent devkitARM releases, you released it almost the same moment I was releasing mine... anyway upgrading it's one of the things I'll be doing soon, of course! And the interprocessor communication layer is what I was missing the most so I'm happy there's a decent one now :)

I've read -and seen demos- about maxmod and it's amazing, it does everything that libxm7 does and even a lot more... the matter about libxm7 is that I started it because I didn't know there were already other wip libraries that do that... I discovered 0xtob's libntxm after I released the first demo, and I discovered about maxmod just a couple of weeks ago... but I enjoyed coding my lib so much and I'm still having a lot of fun developing it. I learnt and I'm learning a lot of interesting things (you know, I'm quite a newbie) and I think I still need to write a lot of code before I can call this thing done. After that, if it happens that I learnt enough that I could actually really help improve maxmod, then I'll surely will. Now I believe it's impossible :)

wintermute wrote:
Again, sorry to put a downer on your day.


You didn't. You simply gave me a chance to think once more about this thing. :) Bye!
_________________
libXM7|NDS programming tutorial (Italiano)|Waimanu DS / GBA|A DS Homebrewer's Diary

#165811 - sverx - Wed Jan 07, 2009 11:55 am

Hi!
no library update yet, but a tiny example (12KiB) that shows how to use libxm7 with libnds 1.3.1 using the new IPC system.
Includes a 10KiB XM by Lasse (thanks!)

It's here! (There's a link also on the doc page).


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