From Game Making Tools Wiki
beepster is a browser-based tool for generating music. You mess with a few parameters and sounds come out. You can share songs as URLs.
It's fun to just put on in the background, as the output varies quite a lot over time.