The trio sonata is a genre, typically consisting of several movements,[1] with two melody instruments and basso continuo. It originated in the early 17th century and was a favorite chamber ensemble combination in the Baroque era.[2]