The text of an opera or oratorio. In the past, it was printed as a booklet for the audience. May or may not be written by the composer. Its author is known as the librettist.