Algorithmic music parser/generator