Thanks for the replies everyone; sorry for the delayed response, went out of town this weekend.
I wanted to clarify that the game runs slow even if I don't play any sounds. Just the fact that they're loaded causes an insane amount of lag. Like you all, I'm convinced this shouldn't be happening since it more or less makes the 3d sound commands useless. I don't think it would be much help to post my code since all I'm doing is loading the sounds and running the "POSITION LISTENER" command once every step. I do have a function which clones sounds to ensure that I can play more than one copy of a sound at once, but it has no impact on the game's performance.
Green Gandalf:
Quote: "Do you need the position listener commands? I usually just adjust the volume according to the distance between the sound's and the player's positions (or some other reference point). Works fine for me (unless you need stereo effects).
Certainly 15 clips shouldn't be a problem.
Edit Why would you use load/delete sound? That's bound to be inefficient. Why not play/stop sound?"
I definitely could adjust the volume of sounds, but the reason for using the 3d commands was to the speakers change volume based on where the sound is located in relation to the player.
Sixty Squares:
Quote: "I've generally discarded the 3D Sound commands. Instead I've been using this: http://forum.thegamecreators.com/?m=forum_view&t=73816&b=5. It's a little old and might have a few bugs if I remember correctly, but it's generally been pretty reliable.
Also, as a side note, if you have duplicates of the same sound then perhaps CLONE SOUND would be more effective? I haven't tested this though."
Thanks for the link. I'll look into it if there's no immediate solution. Right now each sound is the same (just for testing purposes), but they'll all be unique eventually.
EDIT: I... have no idea what happened. I leave over the weekend, not changing any code, and it's working perfectly fine when I come back (or at least it seems that way). Quite a bizarre bug.