Do a Google search on “historical tuning.” (Or just go here.) Aparrently it’s a 20th-century idea that the notes on a keyboard instrument should be tuned at exactly equal intervals (called “Equal temperament”). Before then, each key signature had a more distinct nature, and it really did matter what key the piece was in. Or so they say; my piano tuner gave my piano a historical tuning. I couldn’t tell the difference.
My tuner also gave me a photocopy of a page from this out-of-print book, which lists quotes from musicians about the characters of different keys:
C major
“Completely pure” - Schubart, 1784
“Naturalness and nobility” - Gervasoni, 1812
“Cheerful and pure; innocence and simplicity” - Weikert, 1827
C-sharp minor
“Penitential lamentation, intimate conversation with God” - Schubart, 1784
“Despair” - (this from 4 different musicians)
D major
“Joyful and very militant” - Charpentier, 1692
“Pleasant, joyful, bright, songs of victory” - Masson, 1697
“Martial ardour” - Hawkins, 1776
“The key of triumph, of Hallelujas, of war-cries, of victory-rejoicing” - Gathy, 1835
E-flat minor
“Horrible, firghtful” - Charpentier, 1692
“Feelings of the axniety of the soul’s deepest distress, of brooding despair, of blackest depression, out of the most gloomy condition of the soul. Every fear, every hesitation of the shuddering heart, breathes out of horrible e-flat minor. If ghosts could speak, their speech would approximate this key.” - Shubart, 1784
and so on. E-major is uplifting and bright, while B-flat minor is gloomy, and good for preparing suicide.