Midi file import for Processing-Javascript
in
Processing with Other Languages
•
5 months ago
Hello everyone,
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...
I found some MIDI javascript API ( http://mudcu.be/midi-js/ or http://github.com/gasman/jasmid/ ), but I can't figure out how to use it. I'm a complete beginner in html/javascript.
Maybe some of you here can help me : how can I get the NoteOn list of a midi file with Processing-javascript ?
Thanks !
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...
I found some MIDI javascript API ( http://mudcu.be/midi-js/ or http://github.com/gasman/jasmid/ ), but I can't figure out how to use it. I'm a complete beginner in html/javascript.
Maybe some of you here can help me : how can I get the NoteOn list of a midi file with Processing-javascript ?
Thanks !
1