a hierarchical music generation engine