Sound Design Stack Exchange is a question and answer site for sound engineers, producers, editors, and enthusiasts. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Whenever I play a song in Virtual DJ, it instantly gives me the key. How does this work? How are major or minors handled? Is there an analysis of the most common notes that is broken down to figure out what's most prominent?

share|improve this question

migrated from Jan 25 '14 at 9:31

This question came from our site for engineers, producers, editors, and enthusiasts spanning the fields of video, and media creation.

This is not authoritative at all but here is my best guess. It does a simple frequency analysis to see what notes are present. Each key as 7 notes that can be present and 5 that cannot. As soon as it detects a note that is not in a key, it can rule that key out.

Then, the keys of C and A minor (for example) have the same notes so the answer it has so far is ambiguous. It then sees whether the piece contains more Cs or As to pick between the two.

If this answer is totally out to lunch please feel free to correct it.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.