I've been using the ModFX Object extension to play .mod files, and it was working fine until yesterday, when my game would start crashing randomly (Trying to read/write to bad memory). I narrowed the problem down to my ModFX Object. I believe I'm using it correctly, so why would it be crashing? Has anyone had experience with this?
So, I tried using the built-in Sound Object to play my .mod music files, but I have the problem that the it plays my .mod files too quietly, and I can't figure out how to make them play louder. Additionally, is there no way to play sound/music with the Sound object across frames?
with the built-in sound object you have just to check an option in the game's properties (don't stop samples between levels or something like that).
to play mods louder, open the mod with modplug tracker and adjust the global volume of the music
With ModFX3, you need to check if the song has completely loaded into memory before playing it. This is why you get random crashes; sometimes it fully loads, sometimes it doesn't.
Try this:
start of frame >> load "song" in cache 1
when "song" in cache 1 has loaded >> play "song"