I'm surprised that no one mentioned, Franz Schubert whose music and sexuality have been endlessly debated by musicologists in the last 20 years. The hack musicologist, Maynard Solomon have been the harbinger of the issue.
From an GLBTQ article:
Schubert's music bridges the classical and romantic styles and is known for its simplicity and depth of feeling. He often juxtaposes moods within a piece, evoking, for example, both sadness and conviviality. In its supposedly "feminine character," Schubert's music was long regarded as the antithesis of Beethoven's. In the words of the nineteenth-century composer and critic Robert Schumann, who first articulated the opposition, the feminine Schubert "pleads and persuades where the man [Beethoven] commands."
The Romantic compositional style is characterized by a loosening of the harmonic and melodic rules and an increased emphasis onnew harmonies or harmonic
relationships and dissonance(harmonic clashes) and on
heightened emotional
expressiveness and the rise of the piano as a favored
compositional medium.
Schubert chose to compose along a deliberately different path from that outlined by the aggressive and hypermasculine
Beethoven, who was held up as the model and measure for
composers until at least World War I.
Music historians have remarked on a studied, carefully planned
and executed deviance in
Schubert's choice of materials and, especially, harmonies (cadences and moves to keys
related by third rather than the more conventional dominant
tonic or fifth-related motions) in
relation to the creation of formal musical structures of sonata-
allegro form: the traditional form
of a first movement in the
Classical and Romantic periods, beginning with an opening section, the exposition, repeated
once, with two contrasting themes and a modulation or change of key center to the
dominant or fifth; a middle section, the development, that
explores the themes from the first section; and a closing section, the recapitulation, that
restates the opening section, but now altered to end in the tonic.
As a result of these procedures and tendencies, Schubert has often been dismissed as a feminine or weak composer and
this perceived "femininity" is
sometimes related to his alleged homosexuality.