Music theory library written in Groovy