'set to music' definitions:

Definition of 'set to music'

From: WordNet
verb
Write (music) for (a text)