Author Topic: uFmod, plays xm, but not mod?  (Read 3162 times)

0 Members and 1 Guest are viewing this topic.

Offline ttemper

  • Amiga 1200
  • ****
  • Posts: 261
  • Karma: 7
    • View Profile
uFmod, plays xm, but not mod?
« on: January 26, 2012 »
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?

Code: [Select]
#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)


Offline hellfire

  • Sponsor
  • Pentium
  • *******
  • Posts: 1292
  • Karma: 466
    • View Profile
    • my stuff
Re: uFmod, plays xm, but not mod?
« Reply #1 on: January 26, 2012 »
Unlike the name suggest, uFmod can only play xm files:
uFMOD is an XM player library written in assembly language.
You can convert your mod to xm using milky tracker.
Challenge Trophies Won:

Offline ttemper

  • Amiga 1200
  • ****
  • Posts: 261
  • Karma: 7
    • View Profile
Re: uFmod, plays xm, but not mod?
« Reply #2 on: January 26, 2012 »
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.
« Last Edit: January 26, 2012 by ttemper »