This article has multiple issues. Please help improve it or discuss these issues on the talk page. (Learn how and when to remove these template messages)
Harmonic mixing or key mixing (also referred to as mixing in key) is a DJ's continuous mix between two pre-recorded tracks that are most often either in the same key, or their keys are relative or in a subdominant or dominant relationship with one another.
The primary goal of harmonic mixing is to create a smooth transition between songs. Songs in the same key do not generate a dissonant tone when mixed. This technique enables DJs to create a harmonious and consonant mashup with any music genre.
A commonly known method of using harmonic mixing is to detect the root key of every music file in the DJ collection by using a piano. The root key that fits the track perfectly may be used to create harmonic mash-ups with other tracks in the same key. The root key is also considered compatible with the subdominant, dominant and relative major/minor keys.
A more advanced harmonic mixing theory has been proposed which accounts for the various modes as well (aeolian, ionian, lydian, mixolydian, dorian and phrygian). It is shown that these alternate modes can be seen as variations of the traditional major and minor keys. The corresponding traditional key will share the same number of sharps and flats as the mode, though it will "feel" as if it's in a different key.
Which notes are in the scale is much more important than which is the tonic, so these can be converted to one mode, such as minor. For example, F lydian and B locrian contain the same notes as A minor, so these should be compatible, and slightly less with D minor and E minor.