added processing of chords (chord symbols -> chord indices)