G-flat major

G-flat major (or the key of G-flat) is a major scale based on G, consisting of the pitches G, A, B, C, D, E, and F. Its key signature has six flats.
Its relative minor is E-flat minor (or enharmonically D-sharp minor), and its parallel minor is G-flat minor, which is usually replaced by F-sharp minor, since G-flat minor's two double-flats make it generally impractical to use. Its direct enharmonic equivalent, F-sharp major, contains the same number of sharps.
The G-flat major scale is:
\override Score.TimeSignature #'stencil = ##f
\relative c" {
 \clef treble \key ges \major \time 7/4 ges4 aes bes ces des es f ges f es des ces bes aes ges2
 \clef bass \key ges \major
</score>
Characteristics.
Like F-sharp major, G-flat major is rarely chosen as the main key for orchestral works. It is more often used as a main key for piano works, such as the impromptus of Chopin and Schubert. It is the predominant key of Maurice Ravel's "Introduction and Allegro" for harp, flute, clarinet and string quartet.
A striking use of G-flat major can be found in the love duet "Tu l'as dit" that concludes the fourth act of Giacomo Meyerbeer's opera "Les Huguenots".
Italian composer Ottorino Respighi composed Notturno in G-flat major, composed in 1904.
When writing works in all 24 major and minor keys, Alkan, Rachmaninoff, Scriabin, Shchedrin and Winding used G-flat major over F-sharp major. Muzio Clementi chose F-sharp in his set for the prelude, but G-flat for the final "Grande Exercice" which modulates through all the keys.
Antonín Dvořák composed Humoresque No. 7 in G-flat major, while its middle section is F-sharp minor.
Gustav Mahler was fond of using G-flat major in key passages of his symphonies. Examples include: the choral entry during the finale of his Second Symphony, during the first movement of his Third Symphony, the modulatory section of the Adagietto from his Fifth Symphony, and during the Rondo–Finale of his Seventh Symphony. Mahler's Tenth Symphony was composed in the enharmonic key of F-sharp major.
This key is more often found in piano music, as the use of all five black keys allows an easier conformity to the player's hands, despite the numerous flats. In particular, the black keys G, A, B, D, and E correspond to the 5 notes of the G-flat Pentatonic Scale. Austrian composer Franz Schubert chose this key for his third impromptu from his first collection of impromptus (1827). Polish composer Frédéric Chopin wrote two études in the key of G-flat major: Étude Op. 10, No. 5 "Black Key" and Étude Op. 25, No. 9 "Butterfly". French composer Claude Debussy used this key for one of his most popular compositions, "La fille aux cheveux de lin", the eighth prélude from his "Préludes, Book I" (1909–1910). The Flohwalzer can be played in G-flat major, or F-sharp major, for its easy fingering.