Tonality processing, involving the key in which a musical piece or melody is played