 Longer pieces in the classical repertoire may have sections in contrasting keys.Methods that establish the key for a particular piece can be complicated to explain and vary over music history.However, the chords most often used in a piece in a particular key are those that contain the notes in the corresponding scale, and conventional progressions of these chords, particularly cadences, orient the listener around the tonic.