Abstract
Traditional generative music research often focuses on symbolic representations like MIDI notes, neglecting the continuous gestural interactions central to electronic music performance. This paper presents a co-creative system that utilizes a Mixture Density Recurrent Neural Network (MDRNN) to predict physical control gestures on a MIDI interface. By modeling the timing and magnitude of knob movements, the system enables a call-and-response interaction where an AI agent continues the performer's style in real-time. The system demonstrates how generative models can move beyond note-writing to become predictive models for embodied musical control.
Introduction
In live electronic music, performance is frequently defined by the continuous manipulation of synthesizer parameters—such as filters, textures, and pitches—rather than the discrete triggering of notes. Most existing AI music systems struggle to capture this "feel" because they operate on symbolic data. This research addresses the gap by designing an AI that understands the physicality of interaction. The goal is to create a co-creative environment where a human and an AI share control of the same physical interface, allowing for a seamless transition of agency during improvisation.
System Architecture and Physical Interface
The system is built around a Behringer XTouch Mini MIDI controller, chosen for its eight rotary encoders equipped with LED rings. These rings are crucial for providing visual feedback, allowing the performer to see the AI's "predicted reality" as it moves the virtual positions of the knobs.
The software stack integrates a generative model implemented in Python with a sound engine developed in Pure Data. The sound engine utilizes sine-tone and granular synthesis, controlled by the MIDI data processed through the AI model.
The Generative Model: MDRNN
The core of the system is an Interactive Musical Prediction System (IMPS) powered by a Mixture Density Recurrent Neural Network (MDRNN). The architecture consists of two 32-unit LSTM layers. Unlike standard RNNs that predict a single value, the MDRNN outputs a 9-dimensional Gaussian mixture model. Eight dimensions correspond to the knob positions, while the ninth dimension predicts "absolute time"—the interval until the next movement. This allows the AI to capture not just the values of the gestures, but their specific rhythmic timing.
Interaction Design and Training
The system operates in a "call-and-response" mode. During the human's performance, the AI "listens" and updates its internal state based on the incoming gestural data. If the human stops interacting for two seconds, the AI takes over, generating and executing its own predictions. This "two-second rule" provides a natural hand-off mechanism for live improvisation.
Training is conducted on a "living" dataset of gestural performance data collected during rehearsals and live shows. This co-adaptive approach ensures the AI learns the specific stylistic quirks of the performer, such as the tendency to adjust multiple knobs simultaneously or specific patterns of pausing.
Key Insights and Results
The system has been deployed in live performances since 2019, demonstrating its effectiveness in real-time interaction. Key findings include:
- Embodied Prediction: The AI predicts physical movement rather than abstract music, shifting the focus to embodied co-creation.
- Emergent Behaviors: The MDRNN naturally learns complex performance behaviors, such as multi-knob coordination, without explicit programming.
- Division of Labor: The AI handles low-level gestural textures, allowing the human to focus on high-level structural changes and global effects.
Limitations and Future Work
While successful, the current model lacks an understanding of macro-level musical structure, focusing only on immediate next-step predictions. Future work aims to incorporate longer-term structural awareness and expand the system into an "orchestra" of co-creative instruments where multiple AI-backed controllers interact within a group of performers. Formal user trials are also planned to quantitatively assess the co-adaptive nature of the system.
Summary updated