A bit late to the party, but I wrote a generator for a project last year running on vanilla JS with a simple HTML front end. There is no recording feature, but I'm sure you could just record the playback externally.
https://github.com/gee842/genmusic
hosted here: http://genmusic.byethost11.com/genmusic/