XML

Musical Keys - XML

Musical keys are essential elements that determine the scalar foundation and mood of a piece of music. Major keys have a bright and open sound, while minor keys have a dark and introspective quality. Following the circle of fifths, there are 12 major keys and corresponding 12 minor keys, each with different key signatures. These keys provide a fundamental framework for composition and performance in Western music.

music theory musical keys major key minor key circle of fifths key signature scale
<?xml version="1.0" encoding="UTF-8"?>
<items>
  <item>
    <code>0</code>
    <slug>c-major</slug>
    <name>C Major</name>
    <description>The most fundamental major key with no sharps or flats.</description>
    <keySignature></keySignature>
    <relativeMinor>a-minor</relativeMinor>
    <sharpsFlats>0</sharpsFlats>
    <type>major</type>
    <relativeMajor></relativeMajor>
  </item>
  <item>
    <code>1</code>
    <slug>g-major</slug>
    <name>G Major</name>
    <description>A major key with one sharp.</description>
    <keySignature>F♯</keySignature>
    <relativeMinor>e-minor</relativeMinor>
    <sharpsFlats>1</sharpsFlats>
    <type>major</type>
    <relativeMajor></relativeMajor>
  </item>
  <item>
    <code>2</code>
    <slug>d-major</slug>
    <name>D Major</name>
    <description>A major key with two sharps.</description>
    <keySignature>F♯, C♯</keySignature>
    <relativeMinor>b-minor</relativeMinor>
    <sharpsFlats>2</sharpsFlats>
    <type>major</type>
    <relativeMajor></relativeMajor>
  </item>
  <item>
    <code>3</code>
    <slug>a-major</slug>
    <name>A Major</name>
    <description>A major key with three sharps.</description>
    <keySignature>F♯, C♯, G♯</keySignature>
    <relativeMinor>f-sharp-minor</relativeMinor>
    <sharpsFlats>3</sharpsFlats>
    <type>major</type>
    <relativeMajor></relativeMajor>
  </item>
  <item>
    <code>4</code>
    <slug>e-major</slug>
    <name>E Major</name>
    <description>A major key with four sharps.</description>
    <keySignature>F♯, C♯, G♯, D♯</keySignature>
    <relativeMinor>c-sharp-minor</relativeMinor>
    <sharpsFlats>4</sharpsFlats>
    <type>major</type>
    <relativeMajor></relativeMajor>
  </item>
  <item>
    <code>5</code>
    <slug>b-major</slug>
    <name>B Major</name>
    <description>A major key with five sharps.</description>
    <keySignature>F♯, C♯, G♯, D♯, A♯</keySignature>
    <relativeMinor>g-sharp-minor</relativeMinor>
    <sharpsFlats>5</sharpsFlats>
    <type>major</type>
    <relativeMajor></relativeMajor>
  </item>
  <item>
    <code>6</code>
    <slug>f-sharp-major</slug>
    <name>F♯ Major</name>
    <description>A major key with six sharps.</description>
    <keySignature>F♯, C♯, G♯, D♯, A♯, E♯</keySignature>
    <relativeMinor>d-sharp-minor</relativeMinor>
    <sharpsFlats>6</sharpsFlats>
    <type>major</type>
    <relativeMajor></relativeMajor>
  </item>
  <item>
    <code>7</code>
    <slug>c-sharp-major</slug>
    <name>C♯ Major</name>
    <description>A major key with seven sharps.</description>
    <keySignature>F♯, C♯, G♯, D♯, A♯, E♯, B♯</keySignature>
    <relativeMinor>a-sharp-minor</relativeMinor>
    <sharpsFlats>7</sharpsFlats>
    <type>major</type>
    <relativeMajor></relativeMajor>
  </item>
  <item>
    <code>-1</code>
    <slug>f-major</slug>
    <name>F Major</name>
    <description>A major key with one flat.</description>
    <keySignature>B♭</keySignature>
    <relativeMinor>d-minor</relativeMinor>
    <sharpsFlats>-1</sharpsFlats>
    <type>major</type>
    <relativeMajor></relativeMajor>
  </item>
  <item>
    <code>-2</code>
    <slug>b-flat-major</slug>
    <name>B♭ Major</name>
    <description>A major key with two flats.</description>
    <keySignature>B♭, E♭</keySignature>
    <relativeMinor>g-minor</relativeMinor>
    <sharpsFlats>-2</sharpsFlats>
    <type>major</type>
    <relativeMajor></relativeMajor>
  </item>
  <item>
    <code>-3</code>
    <slug>e-flat-major</slug>
    <name>E♭ Major</name>
    <description>A major key with three flats.</description>
    <keySignature>B♭, E♭, A♭</keySignature>
    <relativeMinor>c-minor</relativeMinor>
    <sharpsFlats>-3</sharpsFlats>
    <type>major</type>
    <relativeMajor></relativeMajor>
  </item>
  <item>
    <code>-4</code>
    <slug>a-flat-major</slug>
    <name>A♭ Major</name>
    <description>A major key with four flats.</description>
    <keySignature>B♭, E♭, A♭, D♭</keySignature>
    <relativeMinor>f-minor</relativeMinor>
    <sharpsFlats>-4</sharpsFlats>
    <type>major</type>
    <relativeMajor></relativeMajor>
  </item>
  <item>
    <code>-5</code>
    <slug>d-flat-major</slug>
    <name>D♭ Major</name>
    <description>A major key with five flats.</description>
    <keySignature>B♭, E♭, A♭, D♭, G♭</keySignature>
    <relativeMinor>b-flat-minor</relativeMinor>
    <sharpsFlats>-5</sharpsFlats>
    <type>major</type>
    <relativeMajor></relativeMajor>
  </item>
  <item>
    <code>-6</code>
    <slug>g-flat-major</slug>
    <name>G♭ Major</name>
    <description>A major key with six flats.</description>
    <keySignature>B♭, E♭, A♭, D♭, G♭, C♭</keySignature>
    <relativeMinor>e-flat-minor</relativeMinor>
    <sharpsFlats>-6</sharpsFlats>
    <type>major</type>
    <relativeMajor></relativeMajor>
  </item>
  <item>
    <code>-7</code>
    <slug>c-flat-major</slug>
    <name>C♭ Major</name>
    <description>A major key with seven flats.</description>
    <keySignature>B♭, E♭, A♭, D♭, G♭, C♭, F♭</keySignature>
    <relativeMinor>a-flat-minor</relativeMinor>
    <sharpsFlats>-7</sharpsFlats>
    <type>major</type>
    <relativeMajor></relativeMajor>
  </item>
  <item>
    <code>0m</code>
    <slug>a-minor</slug>
    <name>A Minor</name>
    <description>The most fundamental minor key with no sharps or flats.</description>
    <keySignature></keySignature>
    <relativeMinor></relativeMinor>
    <sharpsFlats>0</sharpsFlats>
    <type>minor</type>
    <relativeMajor>c-major</relativeMajor>
  </item>
  <item>
    <code>1m</code>
    <slug>e-minor</slug>
    <name>E Minor</name>
    <description>A minor key with one sharp.</description>
    <keySignature>F♯</keySignature>
    <relativeMinor></relativeMinor>
    <sharpsFlats>1</sharpsFlats>
    <type>minor</type>
    <relativeMajor>g-major</relativeMajor>
  </item>
  <item>
    <code>2m</code>
    <slug>b-minor</slug>
    <name>B Minor</name>
    <description>A minor key with two sharps.</description>
    <keySignature>F♯, C♯</keySignature>
    <relativeMinor></relativeMinor>
    <sharpsFlats>2</sharpsFlats>
    <type>minor</type>
    <relativeMajor>d-major</relativeMajor>
  </item>
  <item>
    <code>3m</code>
    <slug>f-sharp-minor</slug>
    <name>F♯ Minor</name>
    <description>A minor key with three sharps.</description>
    <keySignature>F♯, C♯, G♯</keySignature>
    <relativeMinor></relativeMinor>
    <sharpsFlats>3</sharpsFlats>
    <type>minor</type>
    <relativeMajor>a-major</relativeMajor>
  </item>
  <item>
    <code>4m</code>
    <slug>c-sharp-minor</slug>
    <name>C♯ Minor</name>
    <description>A minor key with four sharps.</description>
    <keySignature>F♯, C♯, G♯, D♯</keySignature>
    <relativeMinor></relativeMinor>
    <sharpsFlats>4</sharpsFlats>
    <type>minor</type>
    <relativeMajor>e-major</relativeMajor>
  </item>
  <item>
    <code>5m</code>
    <slug>g-sharp-minor</slug>
    <name>G♯ Minor</name>
    <description>A minor key with five sharps.</description>
    <keySignature>F♯, C♯, G♯, D♯, A♯</keySignature>
    <relativeMinor></relativeMinor>
    <sharpsFlats>5</sharpsFlats>
    <type>minor</type>
    <relativeMajor>b-major</relativeMajor>
  </item>
  <item>
    <code>6m</code>
    <slug>d-sharp-minor</slug>
    <name>D♯ Minor</name>
    <description>A minor key with six sharps.</description>
    <keySignature>F♯, C♯, G♯, D♯, A♯, E♯</keySignature>
    <relativeMinor></relativeMinor>
    <sharpsFlats>6</sharpsFlats>
    <type>minor</type>
    <relativeMajor>f-sharp-major</relativeMajor>
  </item>
  <item>
    <code>7m</code>
    <slug>a-sharp-minor</slug>
    <name>A♯ Minor</name>
    <description>A minor key with seven sharps.</description>
    <keySignature>F♯, C♯, G♯, D♯, A♯, E♯, B♯</keySignature>
    <relativeMinor></relativeMinor>
    <sharpsFlats>7</sharpsFlats>
    <type>minor</type>
    <relativeMajor>c-sharp-major</relativeMajor>
  </item>
  <item>
    <code>-1m</code>
    <slug>d-minor</slug>
    <name>D Minor</name>
    <description>A minor key with one flat.</description>
    <keySignature>B♭</keySignature>
    <relativeMinor></relativeMinor>
    <sharpsFlats>-1</sharpsFlats>
    <type>minor</type>
    <relativeMajor>f-major</relativeMajor>
  </item>
  <item>
    <code>-2m</code>
    <slug>g-minor</slug>
    <name>G Minor</name>
    <description>A minor key with two flats.</description>
    <keySignature>B♭, E♭</keySignature>
    <relativeMinor></relativeMinor>
    <sharpsFlats>-2</sharpsFlats>
    <type>minor</type>
    <relativeMajor>b-flat-major</relativeMajor>
  </item>
  <item>
    <code>-3m</code>
    <slug>c-minor</slug>
    <name>C Minor</name>
    <description>A minor key with three flats.</description>
    <keySignature>B♭, E♭, A♭</keySignature>
    <relativeMinor></relativeMinor>
    <sharpsFlats>-3</sharpsFlats>
    <type>minor</type>
    <relativeMajor>e-flat-major</relativeMajor>
  </item>
  <item>
    <code>-4m</code>
    <slug>f-minor</slug>
    <name>F Minor</name>
    <description>A minor key with four flats.</description>
    <keySignature>B♭, E♭, A♭, D♭</keySignature>
    <relativeMinor></relativeMinor>
    <sharpsFlats>-4</sharpsFlats>
    <type>minor</type>
    <relativeMajor>a-flat-major</relativeMajor>
  </item>
  <item>
    <code>-5m</code>
    <slug>b-flat-minor</slug>
    <name>B♭ Minor</name>
    <description>A minor key with five flats.</description>
    <keySignature>B♭, E♭, A♭, D♭, G♭</keySignature>
    <relativeMinor></relativeMinor>
    <sharpsFlats>-5</sharpsFlats>
    <type>minor</type>
    <relativeMajor>d-flat-major</relativeMajor>
  </item>
  <item>
    <code>-6m</code>
    <slug>e-flat-minor</slug>
    <name>E♭ Minor</name>
    <description>A minor key with six flats.</description>
    <keySignature>B♭, E♭, A♭, D♭, G♭, C♭</keySignature>
    <relativeMinor></relativeMinor>
    <sharpsFlats>-6</sharpsFlats>
    <type>minor</type>
    <relativeMajor>g-flat-major</relativeMajor>
  </item>
  <item>
    <code>-7m</code>
    <slug>a-flat-minor</slug>
    <name>A♭ Minor</name>
    <description>A minor key with seven flats.</description>
    <keySignature>B♭, E♭, A♭, D♭, G♭, C♭, F♭</keySignature>
    <relativeMinor></relativeMinor>
    <sharpsFlats>-7</sharpsFlats>
    <type>minor</type>
    <relativeMajor>c-flat-major</relativeMajor>
  </item>
</items>