I've been in the process of creating a full ANSI telnet script and I have it completed for most features. I started looking at a variety of possible features to add support for and came across ANSI music. Now, this would be very easy for me to handle.... if I can find a way to play a music note from mIRC. Any ideas?

I considered the possibility of generating a temporary MIDI file and playing that, but the problem there is that there will always be a delay before it starts playing and between any subsequent "lines" of music. That may not be a big problem, but I'd rather find a way to send the notes directly to the sound card. I am open to a DLL option, but would rather use just a scripted method or COM method.

I have a feeling this won't work well enough to bother with, but maybe there is something I can't think of.

Any suggestions would be helpful.