Random Sequences
Visit http://onlinesequencer.net/?random to autoplay random sequences that seem to be decent (with a lot of notes in the same key).
Synthesis
Add ?synth
to any sequence's URL to generate the sounds in your browser, instead of using samples. This will also respect the note lengths. All instruments will sound the same and it doesn't work well in any browser yet, but it's still pretty cool!
Console Tricks
You can do some hacky stuff using the Chrome JavaScript console. Type grid=(1/4)/(1/3)
to change the grid size to whatever you want, where 1/3 is the new note length.
You can also add notes with JavaScript. This adds a bunch of random stuff and sounds terrible:
for(var i = 0; i < 500; i++) { song.addNote(new Note(song, piano[Math.round(Math.random()*piano.length)] /*note (piano is an array of B7...C2) */, Math.round(Math.random()*64) /*time*/, 1 /*length in 1/4 intervals*/, 0 /*instrument*/)); }
This is slightly better:
for(var i = 0; i < 500; i++) { song.addNote(new Note(song, scales[1][Math.floor(Math.random()*scales[1].length)]+Math.floor(Math.random()*6+2) /*scales[1] is the C Major scale */, Math.round(Math.random()*64) /*time*/, 1 /*length in 1/4 intervals*/, 0 /*instrument*/)); }