he composed three operas and ballet and wrote books for music studies