The real credit of music development goes to the Bhakti movement of Medieval India. These Bhakti saints brought new musical instruments and Ragas (Compositions). Best example could be Amir Khusrau.
When Mughals came to power, they patronised music and its exponents. Rulers like Akbar, Jahangir and Shah Jahan were top preserver of music under Mughal rule.
Ain-e-Akbari (by Abul Fazl) gave insights about 36 court musicians during Akbar rule. It included Shihab Khan and Purbin Khan.
Akbar also took the service of Tan Sen (invented Raga Depok/Deepak) from Raja Man Singh.
Shahjahan was himself a singer and patronised classical Hindustani music in the Mughal court.
Aurangzeb was himself a veena players but later discontinued his court poets due to economic reasons.