Towards a Harmonic Complexity of Musical Pieces
introduction to automata theory , languages and computation .