D minor

D minor is a minor scale based on D, consisting of the pitches D, E, F, G, A, B, and C. Its key signature has one flat. Its relative major is F major and its parallel major is D major. 
The D natural minor scale is:
\override Score.TimeSignature #'stencil = ##f
\relative c' {
 \clef treble \key d \minor \time 7/4
 d4 e f g a bes c d c bes a g f e d2
 \clef bass \key d \minor
</score>
Changes needed for the melodic and harmonic versions of the scale are written in with accidentals as necessary. The D harmonic minor and melodic minor scales are:
\override Score.TimeSignature #'stencil = ##f
\relative c' {
 \clef treble \key d \minor \time 7/4
 d4^\markup "D harmonic minor scale" e f g a bes cis d cis bes a g f e d2
</score>
\override Score.TimeSignature #'stencil = ##f
\relative c' {
 \clef treble \key d \minor \time 7/4
 d4^\markup "D melodic minor scale (ascending and descending)" e f g a b cis d c! bes! a g f e d2
</score>
Music in D minor.
Of Domenico Scarlatti's 555 keyboard sonatas, 151 are in minor keys, and with 32 sonatas, D minor is the most often chosen minor key.
"The Art of Fugue" by Johann Sebastian Bach is in D minor. 
Michael Haydn's only minor-key symphony, No. 29, is in D minor.
According to Alfred Einstein, the history of tuning has led D minor to be associated with counterpoint and chromaticism (for example, the chromatic fourth), and cites Bach's "Chromatic Fantasia and Fugue" in D minor. Mozart's Requiem is written primarily in D minor, as are the famous Queen of the Night Aria, "Der Hölle Rache", the ouverture and the final scene of Don Giovanni. Of the two piano concertos that Mozart wrote in a minor key, one of them is in D minor: Piano Concerto No. 20, K. 466. Furthermore, his string quartet no. 13 K173 and string quartet no. 15 K421 (one of the high profile Haydn-quartets) are also in D minor.
The only chamber music compositions in D minor by Ludwig van Beethoven are his stormy Piano Sonata No. 17 and the haunting Largo of the Ghost Trio Op. 70/1. Franz Schubert's "Death and the Maiden Quartet" is in D minor. A number of Gabriel Fauré's chamber music works are written in the D minor, including the Piano Trio Op. 120, the First Piano Quintet Op. 89, and the First Cello Sonata Op. 109. Arnold Schoenberg's "Verklärte Nacht" is in D minor, as is his String Quartet No. 1.
Since D minor is the key of Beethoven's Symphony No. 9, Anton Bruckner felt apprehensive about writing his own Symphony No. 9 in the same key. As well as Bruckner's First Mass, some other post-Beethoven symphonies are in D minor, including Symphony No. 4 by Robert Schumann, the only Symphony written by César Franck, and Symphony No. 3 by Gustav Mahler.
Jean Sibelius often reserved the key of D minor for compositions he saw as being of a noble character; the Violin Concerto, the Sixth Symphony, and the string quartet "Voces intimae" are each in the key.
The tonality of D minor held special significance for Helene and Alban Berg.
Works in the classical music era and later beginning in minor typically end in major, or at least on a major chord (such as a picardy third), but there are a few notable examples of works in D minor ending in much sharper keys. Two symphonies that begin in D minor and end in E major are Havergal Brian's "Gothic Symphony" and Carl Nielsen's Symphony No. 4 ("The Inextinguishable"). Franz Liszt's "Dante Symphony" opens in D minor and ends in B major.
Similar to a D minor symphony ending in D major, as with Beethoven's Symphony No. 9, a D major symphony can have for its allegro first movement a slow introduction in D minor. Robbins Landon wrote that "Tonic minor Adagio introductions, especially in the key of D minor, were very popular with English composers of the year 1794", and Joseph Haydn copied this procedure for the D major symphonies he wrote in London.
Film composer Hans Zimmer is one of the most prominent users of the key of D minor in modern times. Many of his well-known scores were written in the key; notable examples are "Gladiator", "The Dark Knight", "Pirates of the Caribbean" and "The Da Vinci Code". His frequent use of the key has been noticed by reviewers such as Christian Clemmensen of Filmtracks.com, who has called the trend "ridiculous stubbornness".