| "Midi Test" by Akira (2005-02-17) |
This was a very simple midi test, but it gave me an error when I tried to run it on the web... If runs fine on local... The problem was InputStream. It seems like MidiSystem doesn't load the (certain type of) midi correctly when it's running on the web. I had to first store them in byte[], use ByteArrayInputStream to create a fake input stream and pass it to MidiSystem... Sigh...