Musical chord parser, transposer, and disambiguator