set/put something to music

From King Dictionary of Contemporary Englishset/put something to musicset/put something to musicAPMALto write music so that the words of a poem, play etc can be sung music
Examples from the Corpus
set/put something to musicWhat were you going to do, set it to music?She sat at the piano for hours, putting one of her poems to music.But if you have an extremely subtle story, how are you going to set it to music?For Robin, a place to put mind to music.The Greek tragedy "Elektra" was set to music by Richard Strauss.