• Welcome to Dark Bit Factory & Gravity.
 

uFmod, plays xm, but not mod?

Started by ttemper, January 26, 2012

Previous topic - Next topic

0 Members and 0 Guests are viewing this topic.

ttemper

Trying to put some music into a demo using uFmod, it works for xm files (bin2bas), but soon as I change it to a mod file (bin2bas), no sound.

Compiling with.... fbc -lang deprecated -s gui

Is there something I'm missing?


#INCLUDE ONCE "tinyptc_ext++.bi"
#INCLUDE "sfx\happyanswer.mod.bas"

    Dim hWave As HWAVEOUT
    hWave = uFMOD_PlaySong(@happyanswer.mod(0), 88961, XM_MEMORY)

do

<loop here>

end

uFMOD_StopSong()
EXITPROCESS(0)


hellfire

Unlike the name suggest, uFmod can only play xm files:
Quote from: http://ufmod.sourceforge.net/uFMOD is an XM player library written in assembly language.
You can convert your mod to xm using milky tracker.
Challenge Trophies Won:

ttemper

#2
XM only? k, persuasive naming then. Thanks for the heads up, I'll check out milky tracker.

I'll google around n see what mod player I can find.

*edit, the conversion from mod to xm was easy and worked a treat, thanks again.