||This article needs additional citations for verification. (May 2012)|
||This article may contain improper references to self-published sources. (May 2012)|
Harmonic mixing or key mixing 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.[dead link]
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, and that they can be translated to traditional keys via the Circle of Fifths.
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.
Starting in 2006, harmonic mixing experienced a renaissance. Two products made it easier for DJs to analyze the keys of their music files by scanning files and eliminating the need for a piano. Mixed In Key became an industry standard for key detection due to the large number of fans and notable people in the DJ industry using the product. Mixed In Key also uses its own unique system to identify and mix compatible keys called the Camelot Wheel. MixShare created a freeware utility called Rapid Evolution for the same purpose  as well as KeyFinder by Ibrahim Sha'ath. Starting with version 2.6.1 Traktor from Native Instruments can perform key detection as well. Serato Scratch Live from Rane, and Torq from M-Audio have a "Key" display in their interfaces, as well as a key column in the library browser to allow for easy sorting of songs by key as does Virtual DJ from Atomix Productions as of version 5.0. Rekordbox from Pioneer also included a key column for sorting music metadata and has a built-in key analyzer that is included with version 2.0.1 and higher.