Question: who wrote music for singing in the rain
Answer: `` Singin ' In the Rain '' is a song with lyrics by Arthur Freed and music by Nacio Herb Brown , published in 1931 .