What is (a) A book containing the words of an opera or extended piece of music. (b) The words themselves called?

libretto — (a) A book containing the words of an opera or extended piece of music. (b) The words themselves. (Webster's 1913.)

Sources