➡️ This talk is part of IRCAM Forum Workshops Hors-les-Murs Tokyo 2026
In this demo, the user wears an Ultracortex EEG headset, developed by OpenBCI, which records the EEG signals in real time. The recorded data are then transmitted to Max/MSP via OSC for interaction with Somax2.
We collected a variety of musical materials, such as instrumental sounds, vocal noises, and electronic sounds, to build a corpus in Somax2. This corpus is subsequently activated by the user's brain activity. EEG signals are used in two different ways for the interaction with Somax2. The brainwave data are used in two different ways for the interaction with Somax2.
First, EEG band power signals - including alpha, beta, and theta activity, recorded from different regions of the scalp - are sonified based on the method of additive synthesis to create a continuously evolving timbre. Variations in band power reshape the spectral balance of the sound, producing changing sonic colours and internal rhythmic activities. This sonification of EEG signal serves as the primary influencer for shaping the musical patterns generated by Somax2.
Second, the user’s mental states, such as relaxation, concentration, valence, arousal, are measured in real time and mapped onto the overall behaviour of the Somax2. For example, as the user’s focus level increases, the level of the continuity of Somax2's output is reduced, resulting in more fragmented musical patterns with stronger rhythmic density, and vice versa. The estimated levels of arousal and valence, meanwhile, are mapped to control the "internal" and "external" parameters of the Somax2's, allowing the improvisation to become either more autonomous or more dependent on the influencer.

In this way, the user’s perception of sound can influence the musical output of Somax2. Previous studies have suggested that musical listening can produce changes in EEG activity. For example, Hurless et al. (2013) demonstrated that the beta activity increased with faster musical tempo, whereas the alpha activity increased when participants listened to their preferred music genres. Throughout the demonstration, user’s brain activity dynamically shapes the pitch, rhythmic density, harmonic content, and the improvisational behavior of Somax2. The generated music, in turn, influences user’s EEG band power, producing new physiological responses that continuously reshape the musical output of Somax2. The system therefore establishes a closed-loop interaction between human perception, neural activity, and machine improvisation, exploring how musical creation may emerge through an ongoing process of human-AI co-creation.

Through this interaction, the system also challenges the conventional notion of compositional authorship and raises a question: Where does the creation take place?
The user's intention towards sonic transformation does not always remain stable throughout the interaction. As brain activity influences the sound, the transformed sounds generated by the system are continuously fed back to user's ears and further shape the perceptual experience. This new experience then might alter subsequent brain activity, which in turn changes the sound again—sometimes even without user's conscious intention. In this way, this system attempts to redistribute the creative agency across neural activity, computational process, sonic feedback, and perceptual experience.