Raindrops played music on the windowpane.
Meaning: The raindrops were making a pleasant sound as they hit the windowpane, like a musical performance.
Choice of Words: Played suggests the idea of making sounds, and music refers to pleasant sounds. Windowpane specifies the location where the music is being played.
Alternative Expressions
Related Expressions