Piano & AI

Type Start End
Other Jul 2021 Dec 2025
Responsible URL
Philippe Salembier <philippe.salembier@upc.edu>

Description

 

The goal of the “Piano & AI” project is to develop and experiment a musical interaction loop between a piano player and an artificial entity. The project envisions a collaborative improvisation between the human pianist and the AI system. The project idea is illustrated in the figure below.

 

 

 

To enable the AI to listen to the pianist, two microphones capture the sound of the piano, and the signal is analyzed using various signal processing and machine learning tools. These tools extract musically relevant parameters such as onset time, pitch, BPM, loudness, and spectral features that characterize the timbre of the instrument. The tools have been trained and optimized on a database specifically recorded by Marco Mezquida for this project and the Google Magenta Maestro Database.

 

Using this analysis, the AI system synthesizes a musical accompaniment or response to the pianist in real-time. As the pianist hears the AI's musical response, he gets inspired by the AI-generated sound and interacts with the system as he would with another player in an improvisation. To support and structure concerts, the project has created several soundscapes or textures, each of which can use any of the extracted descriptors to react to the pianist's playing. These textures generate a wide range of sonic atmospheres.

 

Project development: 

 

The project commenced in mid-2021 as a collaborative effort  between Sónar, UPC and BetevéIts primary objective was to create the inaugural concert of the "AI and Music Festival" (documentary excerpt). Alongside pianist Marco Mezquida, the technical development of the system was initially undertaken by Philippe Salembier, Josep M. Comajuncosas, Ivan Paz, and Joan Cañelles (Shelly). Most of the rehearsals were conducted at the Escola Superior de Música de Catalunya  (ESMUC). The inaugural concert took place on October 27, 2021, at the Auditori of Barcelona. Since then, the system has undergone further evolution under the supervision of Philippe Salembier and Josep M. Comajuncosas, and has been featured in several concerts throughout 2022 and 2023:

 

Sónar Lisbon, Portugal, April 8 2022
Terrassa theater, Terrassa, June  2 2022
Palau Pedralbes, Barcelona, May 16 2022
Cosmocaixa, Barcelona, February 17 2023

 

 Barcelona Auditori concert (27th of October 2021)

Barcelona Auditori concert (October 27, 2021) 

 

Teatre principal de Terrassa concert (2nd of June 2022)

Terrassa principal theater concert (June 2, 2022)

 

 

SonarMies Sessions (Barcelona, June 2023): "Reprocessing… Piano + AI"

 

In 2023, for Sónar’s 30th Anniversary, the project underwent a significant evolution through the “Reprocessing….. Piano & AI” event emphasizing openness and creative experimentation. This event took place at Barcelona's Mies van der Rohe Pavilion. The initiative started with a press presentation on June 13th, led by Marco Mezquida.

 

 SonarMies 2023, Marco Mezquida

Marco Mezquida during the SonarMies press presentation

 

Subsequently, from June 15th to 17th, the Mies van der Rohe Pavilion hosted six public sessions, presented by Lluís Nacenta. Carles Viarnès, CLARAGUILAR, Marina Herlop, Francesco Tristano, Lluïsa Espigolé, and Adria González (Killin’Cactuz) engaged with the AI for the very first time. During the sessions, each artist discovered, dialogued with and even challenged the AI system. These sessions were full of innovations, sonic explorations and discoveries for the pianists, the technical team in charge of the system and the public. 

 

SonarMies 2023 

Summary of the SonarMies sessions with Carles Viarnès, CLARAGUILAR, Marina Herlop, Francesco Tristano, Lluïsa Espigolé and Killin'Cactuz

 

Recording of individual sessions:  

SonarMies  SonarMiesSonarMies 

     Carles Viarnès                 CLARAGULAR                    Marina Herlop  

 

SonarMies  SonarMiesSonarMies 

    Francesco Tristano                Lluïsa Espigolé                    Killn'Cactuz      

 

Some details about this event can be found in the 'Algorrritmes UPC' podcast (in Catalan and Spanish): "Música, llum i intel·ligència artificial: comença l’espectacle": Spotify, Youtube

 

Fira Mediterrania (Manresa, October 2023): "Manel Camp, Piano + AI"

 

In October 2023, a session similar to the SonarMies sessions was organised during the Fira Mediterrania. The Pianist Manel Camp was invited to interact for the first time with the Piano & AI system. The AI system had the opportunity to discover new musical grounds.  

 

Manel Camp, Fira Mediterrania

 

RTVE La2 Catalunya "En router" (October 2024): Manel Camp participation in the TV program "Oci, cultura i entreteniment al Bages"

 

En 2024, a session involving Manel Camp interacting with the Piano & AI system was recorded in the context of the TV Program "En Router" presented by Thais Villas

 

RNE Radio 4 "L'Entrellat - Backstage: Fusió d'Intel·ligència Artificial i Música" (December 2024): 

 

In this podcast, Ricard Robles and Samanta Villar discuss examples of collaborations between artists and reserachers including the "Piano & AI" project:

Radio 4 podcast "L'Entrellat - Backstage, Fusió d'Intel·ligència Artificial i Música"