press "play" to hear some sweet tunes!
this uses a midi file converted to csv, then parsed and ripped apart to leave just the notes. time information is also thrown out the window, relying on a constant to play the next note every n seconds. its not exactly practical, but its a neat way to get sound on a website if you cant host or link to an external resource. another way would be to store mp3 or wav data in base64 so you can keep that inside the javascript, but thatll take up a lot of space.
this implementation has a whole host of problems, from tedious midi>csv>js array conversion process, to having no sustained notes or different instruments, to having no audio controls. a smart person could fix these. i cant. ive commented this code incase someone wants to take a look. you can also find the csv>js array converter script here