~ David Su, Rosalind Picard, and Yan Liu
AMAI is a music generation and playback system whose goal is to steer the listener towards a state of more positive affect. AMAI utilizes techniques from game music in order to adjust elements of the music being heard; such adjustments are made adaptively in response to the valence levels of the listener as measured via facial expression and emotion detection.
A paper detailing the project was published in the proceedings of the 2018 International Computer Music Conference.
You can listen to audio examples here, and source code is available on GitHub.