For a quick summary of this topic, have a look at Blues scale.
The G-flat blues scale has 2 flats.
|Note no.||Note name|
|1||The 1st note of the G-flat blues scale is Gb|
|2||The 2nd note of the G-flat blues scale is A|
|3||The 3rd note of the G-flat blues scale is B|
|4||The 4th note of the G-flat blues scale is C|
|5||The 5th note of the G-flat blues scale is Db|
|6||The 6th note of the G-flat blues scale is E|
|7||The 7th note of the G-flat blues scale is Gb|
Middle C (midi note 60) is shown with an orange line under the 2nd note on the piano diagram.
These note names are shown below on the treble clef followed by the bass clef.
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 numbered notes are those that might be used when building this note scale.
Note 1 is the tonic note - the starting note - Gb, and note 13 is the same note name but one octave higher.
|Note||Gb||G||G# / Ab||A||A# / Bb||B||C||C# / Db||D||D# / Eb||E||F||Gb|
The major scale uses the W-W-H-W-W-W-H note counting rule to identify the scale note positions.
To count up a Whole tone, count up by two physical piano keys, either white or black.
To count up a Half-tone (semitone), count up from the last note up by one physical piano key, either white or black.
The tonic note (shown as *) is the starting point and is always the 1st note in the major scale.
Again, the final 8th note is the octave note, having the same name as the tonic note.
|Note||Gb||G# / Ab||A# / Bb||B||C# / Db||D# / Eb||F||Gb|
Having identified the piano keys that make up this major scale, this step shows the note names of those keys.
To understand why these sharp and flat note names have chosen given the note positions from the previous step, have a look at the Gb major scale.
The blues scale is made from the 1st, flattened 3rd, 4th, flattened 5th, 5th and flattened 7th notes from the major scale above. The 2nd and 6th notes of the major scale are not used.
To flatten a note, just replace it with the piano key lower in pitch ie. lower down the piano.
The flattened 5th is the blue note that gives the blues scale its distinctive sound in this key. So for this major scale, the 5th note of the major scale is flattened from Db to C to make the blue note.
Below are those notes numbered 1 to 6 on the piano keyboard.
The 7th note is the octave of the tonic note, where the pattern begins to repeat itself.
Wherever possible, complex note names from the major scale are simplified to arrive at the final blues scale notes.
This is done because blues (and pentatonic scales) do not follow the 'usual' music theory rules that hold for diatonic scales, such as major and all minor varieties, which state that each note from A..G can only be used once in the scale.
For the blues scale, the half-step / semitone closeness of notes around the 4th and 5th notes usually mean it is inevitable that a note name will be used twice in the scale, so it makes sense to use the chromatic scale names for all notes.