The instruments used in classical music developed at different times. Some of the earliest were known in Medieval music. The trombone and the triangle have hardly changed for hundreds of years, but the violin family developed from folk instruments such as fiddles and gradually replaced the viols to form the basis of the modern orchestra. This was happening by the beginning of the 17th century, which was the time when opera was invented.