I just wrote a Processing program, in Java mode, taking a local midi file (I used the sDrop library to provide it), and computing some kind of visual representation, using the NoteOn list.
Now I'd like to adapt it to the Javascript mode, in order to have a web application (where the user could import his own midi files, or maybe a url). The problem is that I used javax.sound.midi libraries...