Gloomy is to be depressed or sad.
I know that it means a constitutional tendency to be gloomy and depressed... But when a person is saying: Rapture and ecstasy, ecstasy and rapture!-- there were imagination's transports, abetted by the piercing sweetness of melancholy.. What would that mean?