Natya Shastra written by Bharata Muni is considered to be the earliest text that talks about music and theatre.