PocketMatrix forums

A read-only archive of the PocketMatrix forums (2001–2014). Posting and accounts are closed.

MikMod confusion

Playing around with MikMod, seems to be well recommended but very hard to track down (currently using what comes with Lemmings).

Is there documentation/specs?

What's the url you are getting your sources from, seems to be several different versions by different people?

Can it play wav's as background music or only as samples?

Any useful advise getting it going on WinCE?

Any help greatly appreciated.
Jim.
I'm not sure if the MikMod stuff in Lemmings included the manual; it's named something like mikmod.htm. Pretty extensive, with sample code and so on.

MikMod primarily plays modules (.mod, but also .xm, .s3m and so on), but it can also play samples, both looping and 'single shot'.
Jaybot v. 0.062 · 06 Nov 2001, 16:17 UTC
I believe the mikmod -library- for ce that phantom is using is (the only one i know of) the porto fo the library by cliff stabbert.  Just do a quick search on google for modplayce and you should get cliffs page, which has the full download and full documentation; including with the LGPL, which is pretty important.
is this lib free for use in commercial products? Cause if Phantom uses it in his game....:)
It's LGPL'ed, wich means you can use it for free for commercial products, as long as you spread modified sources. Well I didn't modify it so... :) No problem at all.
wow, cool:))) I will check it out today. I was thinking about implementing a lil sound engine to play wavs, but it would suxx for anything like music while mikmod could give me a nice free mod player... cool
hmm, I have just been on the MikMod for CE page and... hmm they haven't got a sh3/mips version? and they say it works slow? uhm?
Phantom you have got a newer version or what? Could you send over your version (sound+docs+ex.proggy/whatever you have there)
thnx
Hm, if I play back mod and wavs at 11Khz, it runs just fine on MIPS and SH3. No problem at all. I'll see if I can whip up a small demo later this week.

It can be sped up sligthly by taking out volume control btw, since that requires a mul per sample (at 8 channels, that's 88K muls per sec).
does it combine effects or just plays one wav/mod ?

well, yeah, a tut about sound would be ql... Haven't found much more then how to use PlaySound command under PPC:)
You can play a mod and besides that (simultaneously) you can play samples. You can allocate as many channels as you like; for performance reasons it's wise to stick to 4 channel mod files and reserve another 4 for playing samples. That's what I did for The Nutcracker.
Naw, Mark, you're in the wrong place :/

Here you go bud:

http://home.earthlink.net/~cps46/

here is the download link for the ARM and MIPS version of the PLAYER:

http://home.earthlink.net/~cps46/MODPlayCE_0.23.1.zip

and here's the SH3 version

http://home.earthlink.net/~cps46/MODPlayCE_Jornada_32kHz.zip

and HERE is the download link for the LIBRARY:

http://home.earthlink.net/~cps46/LibMikModWinCE_0.1.zip

You're welcome :)


Jaybot, you're speaking to me, huh?!? (didn't notice anyone named Mark here)
If so, then it's Mirek, not Mark.:)
sorry mirek, a really bad mistake on my part.  my monitor is about 30 feet across the room, so its hard to make things out clearly :)

i hope that helped you out though.
hey:)
No problem:) And yes, your info helped me a lot.. I'm still not sure if I should try my luck with my own implementation or rather with mikmod... ohh well, I guess I will try out both this weekend and see what I come up with:)
Got mikmod working fine and dandy on desktop and ppc (thanks for the pointers!), noticed something weird though (or done somethink dumb).

When playing sound effects noticed it doesn't take kindly to stereo wav's, even when stereo flag for the effect is set, and has to play my mono sound effect through a single speaker on my desktop.

Now I play the same effect on my pocket pc (iPaq) and listen through my headphones and it comes out both speakers!

Just wondered if anyone knew why?

BTW: Highly recommend MikMod, it is simple to use and produces nice results, could do with a wee bit more documentation though, which might be worth developing a faq for ppc use!

cheers
jim.