In an orchestra, the clarinet takes on both solo roles and the middle register of the woodwind part, while in music for wind instruments the clarinet assumes a leading role (along with the trumpet).