<?xml version="1.0" encoding="utf-8" standalone="no"?>
<!DOCTYPE document PUBLIC "-//CNX//DTD CNXML 0.5 plus MathML//EN" "http://cnx.rice.edu/cnxml/0.5/DTD/cnxml_mathml.dtd">
<document xmlns="http://cnx.rice.edu/cnxml" xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:m="http://www.w3.org/1998/Math/MathML" xmlns:bib="http://bibtexml.sf.net/" id="m10881">
  <name>Key Signature</name>
  <metadata>
  <md:version>2.11</md:version>
  <md:created>2002/10/03</md:created>
  <md:revised>2007/09/10 12:03:20.536 GMT-5</md:revised>
  <md:authorlist>
      <md:author id="Catherine">
      <md:firstname>Catherine</md:firstname>
      <md:othername>A.</md:othername>
      <md:surname>Schmidt-Jones</md:surname>
      <md:email>casjones@soltec.net</md:email>
    </md:author>
  </md:authorlist>

  <md:maintainerlist>
    <md:maintainer id="Catherine">
      <md:firstname>Catherine</md:firstname>
      <md:othername>A.</md:othername>
      <md:surname>Schmidt-Jones</md:surname>
      <md:email>casjones@soltec.net</md:email>
    </md:maintainer>
  </md:maintainerlist>
  
  <md:keywordlist>
    <md:keyword>flat</md:keyword>
    <md:keyword>key</md:keyword>
    <md:keyword>key signature</md:keyword>
    <md:keyword>major</md:keyword>
    <md:keyword>minor</md:keyword>
    <md:keyword>music</md:keyword>
    <md:keyword>notation</md:keyword>
    <md:keyword>sharp</md:keyword>
    <md:keyword>staff</md:keyword>
  </md:keywordlist>

  <md:abstract>The key signature at the beginning of a musical staff lists the sharps or flats in the key.</md:abstract>
</metadata>


  <content>

    <para id="p0a">
The key signature comes right after the <cnxn document="m10941" strength="8">clef</cnxn> symbol on the <cnxn document="m10880" strength="8">staff</cnxn>. It may have either some <cnxn document="m10943" strength="9">sharp</cnxn> symbols on particular lines or spaces, or some <cnxn document="m10943" strength="9">flat</cnxn> symbols, again on particular lines or spaces. If there are no flats or sharps listed after the clef symbol, then the key signature is "all notes are natural".
    </para> 

    <para id="p0b">In common notation, clef and key signature are the only symbols that normally appear on every staff. They appear so often because they are such important symbols; they tell you what note is on each line and space of the staff. The clef tells you the letter name of the note (A, B, C, etc.), and the key tells you whether the note is sharp, flat or natural.
    </para>  

	<figure id="fig15a"><media type="application/postscript" src="keysig1-0.eps">
		<media type="image/png" src="keysig1.png"/>
	</media></figure>

    <para id="p0c">The <term>key signature</term> is a list of all the sharps and flats in the <cnxn document="m10851">key</cnxn> that the music is in. <emphasis>When a sharp (or flat) appears on a line or space in the key signature, all the notes on that line or space are sharp (or flat), and all other notes with the same letter names in other octaves are also sharp (or flat).</emphasis>
    </para>

	<figure id="fig15b"><media type="application/postscript" src="keysig2-0.eps">
		<media type="image/png" src="keysig2.png"/>
</media>
		<caption>This key signature has a flat on the "B" line, so all of these B's are flat.</caption>
	</figure>

    <para id="p0d">
The sharps or flats always appear in the same order in all key signatures. This is the same order in which they are added as keys get sharper or flatter. For example, if a key (G major or E minor) has only one sharp, it will be F sharp, so F sharp is always the first sharp listed in a sharp key signature. The keys that have two sharps (D major and B minor) have F sharp and C sharp, so C sharp is always the second sharp in a key signature, and so on. <emphasis>The order of sharps is: F sharp, C sharp, G sharp, D sharp, A sharp, E sharp, B sharp. The order of flats is the reverse of the order of sharps: B flat, E flat, A flat, D flat, G flat, C flat, F flat.</emphasis> So the keys with only one flat (F major and D minor) have a B flat; the keys with two flats (B flat major and G minor) have B flat and E flat; and so on. The order of flats and sharps, like the order of the keys themselves, follows a <cnxn document="m10865" strength="5">circle of fifths</cnxn>.
    </para>

	<figure id="fig15e"><media type="application/postscript" src="keysig3-0.eps">
		<media type="image/png" src="keysig3.png"/>
	</media></figure>

    <para id="p0e">If you do not know the name of the key of a piece of music, the key signature can help you find out. Assume for a moment that you are in a <cnxn document="m10851" strength="9">major key</cnxn>. If the key contains sharps, the name of the key is one <cnxn document="m10866" strength="5">half step</cnxn> higher than the last sharp in the key signature. If the key contains flats, the name of the key signature is the name of the second-to-last flat in the key signature.
    </para>

    <example id="examp0a">
	<para id="element-169"><cnxn target="fig15f"/> demonstrates quick ways to name the (major) key simply by looking at the key signature. In flat keys, the second-to-last flat names the key. In sharp keys, the note that names the key is one half step above the final sharp.</para><figure id="fig15f"><media type="application/postscript" src="keysig4-0.eps">
		<media type="image/png" src="keysig4.png"/>
	</media></figure>
	</example>

    <para id="p0f">The only major keys that these rules do not work for are C major (no flats or sharps) and F major (one flat). It is easiest just to memorize the key signatures for these two very common keys. If you want a rule that also works for the key of F major, remember that the second-to-last flat is always a <cnxn document="m10867" target="p21b">perfect fourth</cnxn> higher than (or a perfect fifth lower than) the final flat. So you can also say that the name of the key signature is a perfect fourth lower than the name of the final flat. 
    </para>

	<figure id="fig15g"><media type="application/postscript" src="keysig5-0.eps">
<media type="image/png" src="keysig5.png"/>
</media>
	<caption>The key of C major has no sharps or flats. F major has one flat. </caption></figure>

    <para id="p0g">If the music is in a minor key, it will be in the <cnxn document="m10856" target="s3">relative minor</cnxn> of the major key for that key signature. You may be able to tell just from listening (see <cnxn document="m10851">Major Keys and Scales</cnxn>) whether the music is in a major or minor key. If not, the best clue is to look at the final <cnxn document="m11654" target="l0b">chord</cnxn>. That chord (and often the final note of the melody, also) will usually name the key.
    </para>


    <exercise id="exer0a">
     <problem>
      <para id="prob0a">Write the key signatures asked for in <cnxn target="fig15c"/> and name the major keys that they represent.
      </para>

	<figure id="fig15c"><media type="application/postscript" src="keysigprob-0.eps">
<media type="image/png" src="keysigprob.png"/>
	</media></figure>

     </problem>

     <solution>
	<figure id="fig15d"><media type="application/postscript" src="keysigsolv-0.eps">
		<media type="image/png" src="keysigsolv.png"/>
	</media></figure>
     </solution>

    </exercise>

  </content>
  
</document>
