my fair lady is a musical. it is based on george bernard shaw's play, "pygmalion", and on the movie adaptation of the play starring wendy hiller and leslie howard. the book and lyrics for the musical were written by alan jay lerner. the music was written by frederick loewe.