You can probably find something here. I think MuseScore is nice if you're comfortable with standard musical notation. Sekaiju also looks very useful but I never tried it.
Online editors don't support MIDI interface, there's no practical way of accessing it from within browser.