Interactive Music focuses on modeling the interaction between musicians in improvisational settings with a focus on jazz. This research area originally focused on trading fours, where participants alternate improvising 4-measure-long passages. Communication takes place through the creation and adoption of musical motifs between the instrumentalists. It has since been generalized to other musical situations and other styles are also being explored. Problems for the computer in this domain involve pattern detection (locating musical motifs), pattern-based generation, and making stylistically correct decisions.
This is a version from Spring 2019 that uses the bossa nova style:
And an older video with a walking bass implementation: