An abridged version of this appeared in the Journal of Computing in Musicology (volume 12). Unfortunately I had to rush my proof-reading of the editors' changes, so some passages may be unclear and/or erroneous. Please check the original (below) in case of any doubt.