librettist
author of the libretto (words) of an opera or a similar extended musical composition
book writer
person responsible for the plot, character development, and dramatic structure of a musical; "playwright" of a musical
author of the libretto (words) of an opera or a similar extended musical composition