Playing midi files in an applet?

Hey all,

I recently finished up an applet game that I've been working on. Everything works as it should on my home computer, but I hear no midi sound on my work computer (wav files play fine on that computer, however).

Additionally, I've had several other people test the applet, and some reported they were able to hear the midi, while others reported that it didn't work. I'm pretty sure the problem is not with the code. As I said before everything works fine on my home machine, and I'm just using an AudioClip to play the file, which seems extremely straightforward to me. Is this perhaps an issue with java itself? I've noticed on my work computer that even the applet sun provides in its sound tutorial does not play the midi file correctly (though all the other sound files play fine). Anyone have any idea how to get around this? Thanks.

[871 byte] By [CamWa] at [2007-11-27 5:31:18]
# 1

I don't know how common it is to play midi files in applets, but you can try to test your work computer using my current project which does just that:

http://www.wikicomposer.com/applet.jsp?version=0

...it's not exactly a paragon of stability right now, but I've found it works on most computers.

Anyway, if you want specific help you are going to have to show some code snippets. Also, what JRE are the end computers using? I remember that 1.4 seemed a lot less robust than 1.5/1.6.

jpj0001a at 2007-7-12 14:56:23 > top of Java-index,Security,Cryptography...