PocketMatrix forums

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

mikmod noise?

After writing some test code using mikmod (following the lemmings code), I noticed some horrible noise (hissing) after a wave stopped playing.

I thought maybe it was just my code, but I tried the lemmings code without any MOD's playing and sure enough, there's a horrible hissing sound after the first wave is played.

Is this just mikmod? Is the quality really that bad, or is there a way around this?

TIA!
Ehm, yeah, the sound quality could have been better. :) BTW, if you crank up the playback frequency, it gets a bit better. I believe Lemmings plays back at 11Khz. If you have a game that doesn't use too much CPU power, you might be able to use 44.1Khz, especially on ARM processors. But even then, sound quality is not phenomenal.
Thanks for confirming that.

I guess if I blast a good MOD in the background, then the hissing won't be noticable...

BTW, I can't seem to adjust the volume for music in MikMod. The following calls don't seem to have any effect -

Player_SetVolume( newVal );
md_musicvolume = newVal;

It would be nice to quiet down the MOD playback a bit
The volume stuff worked for me; you just have to take into account that the volume goes from 0..127. Took me a while to figure that out.