scala library for music theory