Not knowing about Leipzig[0], I've been trying to come up with my own representation of music in JS to work with the Web Audio API. My biggest puzzle so far is how to a) keep a rhythm and b) allow musical "blocks", which are indeterminate in length, to fit into this rhythm. I was thinking that these blocks would be pre-defined functions which represent different aspects of music (bassline, riff, etc.) which could be repeated and inserted at arbitrary time in the composition.<p>If anyone is interested on working on this drop me a pm/comment (it's just for fun)<p>[0]<a href="https://github.com/ctford/leipzig" rel="nofollow">https://github.com/ctford/leipzig</a>