The Lesson steps then explain how to write the key signature using both clefs, including the display order and line / space staff positions of the notes, and the sharp / flat accidentals.
For a quick summary of this topic, have a look at Key signature.All Keys On 1 page
Warning: The G-sharp key is a theoretical major scale key.
> Its key signature would contain either double-sharps or double flats.
> It is rarely used in practice, because it is too complex to use.
> It is not on the Circle of fifths diagram, which contains the most commonly used keys.
> There is always an identical major scale that you can use in its place, which is on the Circle of 5ths.
> The Ab major scale sounds the same / contains the same note pitches, which are played in the same order (the scales are enharmonic), so it can be used as a direct replacement for the G-sharp major scale.
Rather than use a key signature that would in theory contain double sharps or flats, usually the key signature of the replacement major scale - A-flat, above is used, as shown below.
The white keys are named using the alphabetic letters A, B, C, D, E, F, and G, which is a pattern that repeats up the piano keyboard.
Every white or black key could have a flat(b) or sharp(#) accidental name, depending on how that note is used. In a later step, if sharp or flat notes are used, the exact accidental names will be chosen.
The audio files below play every note shown on the piano above, so middle C (marked with an orange line at the bottom) is the 2nd note heard.
The G-sharp major scale has 6 sharps, 1 double-sharp.
To understand why the G-sharp major scale has 6 sharps, 1 double-sharp, have a look at the G# major scale page, which shows how to identify the note positions and names for this scale.
So rather than use this scale, the key signature of its enharmonic scale - Ab major key signature will be used below.
Since this is a flat-based key signature, the general rules around constructing key signatures containing flats are covered in the next step.
The key signature is set of sharps or flats (never mixed) shown after the treble or bass clef on the musical staff.
The key signature symbols are always shown in the same order, no matter what the order of the actual notes on the staff .
For a flat-based key signature (like this scale), the order is easily remembered using the following phrase, whose first letters indicate the note name to be flattened:
Battle Ends And Down Goes Charles Father
So if the scale contains note Bb, this is always the first flat key signature symbol shown next to the treble or bass clef in the note B staff position(middle line).
Then the same for Eb in the second position, and so on for all the words in the phrase.
The Battle Ends.. order for key signature symbol placement is not accidental, and follows a variation of the Circle of fifths music theory pattern called the Circle of fourths.
The other interesting thing about this phrase / pattern is that given any flat symbol in the key signature, the symbols before that symbol will always exist.
For example, if a key signature has note Fb (last phrase word / symbol), then it will always have the other 6 symbols before it.
Another example - if a key signature has a Db (4th word / symbol), then it will always have the first 3 symbols before it.
Put another way, if you see a key signature with 1 flat symbol, that flat will always be Bb (the first phrase word).
To learn more about these patterns, have a look at Learn the circle of fifths.
The above rules apply to flat-based key signatures - sharp based key signatures have a similar set of rules, with the above phrase reversed. Have a look at the C# major key signature.
The staff above is to demonstrate all possible flat symbol positions in a key signature. In the next step, only those flat positions in this particular scale will be used.
For both the treble and bass clef, all key signature rules on this page are identical.
The only difference between them is that the bass clef symbols are shifted down to the next line or space (and of course the note pitches are lower on the bass clef).
This is to reflect the fact that all note positions on the bass clef are one line or space lower than the treble clef.
For example, on the treble clef, note E (2nd note shown) occupies the 1st space from the top, whereas on the bass clef, the same note is the 2nd space from the top.
Equally, on the treble clef, note D (4th note shown) occupies the 2nd line from the top, whereas on the bass clef, the same note is the 3rd line from the top.
The bass clef symbols are dropped to the next position for sharp-based key signatures in exactly the same way. Have a look at C# major key signature for details.
The above staff diagrams show only one possible staff position for each note letter A to G, on each clef.
The specific note positions used to identify each note A..G above are just a convention used to group the key signature symbols neatly around the centre of the staff, but any symbol actually applies to that note in all octaves on a given clef.
This means that for the first sumbol, Bb, although the note and symbol are on the middle line of the treble clef, the symbol really means 'Flatten any B-Flat note supplied on any octave in this clef, not just the B-Flat pitch on this line'.
In reality, any note could occur in multiple octaves ie. appear more than once on the treble or bass clef, with a higher or lower pitch.
For example, in the final step below, you will see that the scale tonic / starting note appears twice on the both treble and bass clef.
To understand why the A-flat major scale is a direct replacement, compare the piano diagram below to the original key in step 2, noting the same piano keys are used in each case.
So normally, either the A-flat major key signature could be used, or if not appropriate, the key signature could be removed completely, and replaced by individual accidentals before each note on the staff (not shown here).