I've been working on adding music to the areas of my game. There are areas that have two different tracks playing in 2 different channels (one for night and one for day), but I have noticed this causes a performance drop. Admittedly, I'm using the standard runtime, and I'm running a 4000-event engine. There's also a new lighting system that requires per-loop graphical operations. However, it seemed very strange to me that playing two simultaneous samples would add up to cause a slowdown. What I'm doing to fix this somewhat is only play the sample that's needed according to the time of the day, and stop the other channel. This improves the performance a little, but not completely. If I don't find a fix, I'll have to can the new lighting system.
The reason why I'm posting is to find out of there's a way to build an external music player, and if this would increase performance at all. I quickly tried making a separate application that did this and I still got some slowdown. The idea would be to have the two apps talk, and one tell the other what to play. If this could be made with an extension that somehow handled the sound engine as a separate process, I would be willing to talk about hiring.
Thanks in advance for any recommendations or help!