The trio sonata was written for flute , violin and basso continuo , but most of the other music does not show what instruments should play it . Apart from the trio sonata , which is written for flute , violin and basso continuo , the pieces have few indications of which instruments are meant to play them .