Melodies seem so arbitrary, and I'm bad at coming up with them. So taking a page from mathrock, et al, I decided I'd write a program that would turn mathematical sequences from the On-Line Encyclopedia of Integer Sequences into MIDI files.
Of course, the basic two octaves of chromatic notes didn't sound so great, and being bound by traditional notions of western music, I added the ability to force it into a given scale.
Try it here, let me know what you think. It's only on my home server, so if that's down, sorry.
Also, since doing this project I came across pi10k, which only does the pi sequence, but has a much slicker interface.
Future improvements: add intervals (generate chords or just parallel fifths or whatever), put samples that I like here, allow a second integer sequence to control tempo (or just expose notelength and/or volume at all), find out how activebass does their midi, it's better integrated.