Music Intelligence Lab

We design digital musical interfaces, study musical structures with a focus on Arabic music, embodied real-time movement-to-sound instruments, machine learning models for music information retrieval, real-time algorithmic composition, and generative models for improvisation.

Department of Mechanical Engineering American University of Beirut

2 December 2026, 5 pm Music in Motion: research, demonstrations, performances

News

Poster for Music in Motion, 2 December 2026 at 5 pm, Engineering Lecture Hall (ELH), AUB.

2 December 2026, 5 pm

Music in Motion: research, demonstrations, performances

Join us at the Engineering Lecture Hall (ELH) at AUB on Wednesday Dec 2. We will present and play models we’ve been building over the past year: the glove instrument, rope flow, music from dance, maqam identification, generative piano models and algorithmic generation.

See the full poster

  • November 2026

    Two papers at ISMIR 2026 in Abu Dhabi

    DiArMaqAr, and Musicologically Interpretable Deep Learning Framework for Arabic Maqam Identification and Analysis were presented at the International Society for Music Information Retrieval.

  • September 2026

    Rope Flow Music at NeurIPS 2026

    The rope instrument, developed with Olivier Chiniara and Samir Shaker, was accepted to the Creative AI track of NeurIPS 2026 as an artwork with a recorded performance.

  • 3 August 2026

    Online launch of the Digital Arabic Maqam Archive

    Khyam Allami presented DiArMaqAr, the open-access platform for Arabic maqam theory he developed with the lab, with live demonstrations of its research, data and functionality.

  • May 2026

    SmART grant with composer Joelle Khoury

    AUB’s Sciences meet Arts and Humanities (SmART) program funds a twelve-month project with Joelle Khoury, Algorithmic and Generative Music Creation with Co-Design of Mechatronic Interfaces.

  • April 2026

    AFAC grant for Music in Motion

    Music in Motion, a two-year project with Elsa Maalouf, Olivier Chiniara, and Jana Younes, on movement, dance and sound, received a grant from the Arab Fund for Arts and Culture.

    Flag of the European Union Co-funded by
    the European Union
    Arab Fund for Arts and Culture
  • January 2026

    Bach’s latent geometry at the EAIM workshop

    Najla Sadek’s paper on the latent geometry of Bach’s preludes and fugues appeared at the EAIM 2026 workshop at AAAI-26 in Singapore.

Why music intelligence?

Music emerges from three kinds of intelligence. First, the oldest of the three: the physical intelligence a performer builds up through practice. Second, the mathematical structure of scales, tunings and modes, that have occupied mathematical minds like Al-Farabi and Pythagoras for thousands of years. And third, the latest addition, the artificial kind in which machines can learn from musical data, reshaping how music is created as we speak. Our projects below combine the three types of intelligence with the aim of creating new embodied and engaging musical experiences.

From movement to sound

Playing an instrument depends on a form of physical intelligence. Much of what a musician knows is in their body rather than in explicit rules. We develop a skill through practice, and what starts with mental effort becomes intuitive physical movement. Following this idea, we design instruments that translate movement into sound, and study what makes such an instrument learnable and expressive. Current projects include the musical flow rope, dance-to-music and the gluvn.

Music in Motion

A two-year project, 2026 to 2028, led with Elsa Maalouf and Olivier Chiniara. It extends the rope work to free full-body movement, including dance, using wearable sensors, video pose estimation, and models that learn correspondences between movement and sound. The project will include public performances and an open-source release.

A browser prototype is available. The tool maps body pose from a webcam to sound, with the optional addition of sensors. This too is a complex movement-to-sound problem.

Contributors: Elsa Maalouf, Olivier Chiniara, Samir Shaker, Jana Younes, Joelle Khoury.

Flag of the European Union Co-funded by
the European Union
Arab Fund for Arts and Culture

This Project is implemented with the support of the Arab Fund for Arts and Culture – AFAC, in partnership with Oxfam, Echos Electrik, and Megaphone and co-funded by the European Union.

Work in progress. Jana Younes, filmed on a phone. The system tracks her pose and turns four qualities of her movement, weight, time, flow and space, into wind, plucked notes, bass and a pad over a ii–V–I chord progression.

The Electric Trichord

An electrical guitar-like table-top instrument, modulated by electric motors with magnets that maintain the vibration of the strings (like an e-bow).

Contributors: Rebal Abou Fadel, Khyam Allami.

Rope Flow Music

This project sonifies a known movement practice called Rope Flow. It consists of a weighted rope with motion sensors at the handles. The sensor data stream into a live pipeline that classifies the rope’s movement into a small vocabulary of cycles and maps each cycle to musical output through a digital audio workstation. Because the rope constrains the body to a limited set of movements, it is a tractable first case for learning mappings from motion to sound. This project was conceived with Olivier Chiniara, a biomechanics and movement specialist, interested in developing embodied ways of playing music.

Contributors: Olivier Chiniara, Samir Shaker.

Gluvn: A glove instrument

Gluvn is a wearable glove with a flex sensor on each finger, pressure sensors at the fingertips, and an inertial sensor on the palm. The main challenge in designing the glove is the mapping. It generates a high-dimensional continuous signal and gives no haptic feedback, so there are infinitely many ways to map it to sound, and most aren’t intuitive.

Contributors: Joseph Bakarji, Hélène Jabbour, Samir Shaker.

Musical structure

Music theory is built on ratios, scales and modes, and the choice of tuning system changes how it sounds. Much of the theory of Arabic music is recorded in historical treatises and has received little computational study. In this area, we model musical structure, from tuning systems and maqam theory to representations learned from recordings and scores. We also develop maqam identification algorithms based on those structures.

Digital Arabic Maqam Archive (DiArMaqAr)

An open-source, open-access web platform for Arabic maqam theory, developed by Khyam Allami with the lab. It brings together tuning systems (tanāghīm), tetrachords (ajnās) and modes (maqāmāt) from historical treatises and performance practice in a single interactive environment, where they can be compared and heard. The archive was launched at AUB in July 2026.

Contributors: Khyam Allami, Ibrahim El Khansa, Mohammad El Asal.

The DiArMaqAr interface, showing a grid of maqamat and the notes of one of them on a staff.
Choose a maqam and a tuning system, then click a note to hear it. A maqam is built from ajnas, short groups of three to five notes, and the bracket marks its lowest jins, which usually gives the maqam its name. Step sizes in red fall between the semitones of a piano. The maqamat and tuning systems come from the DiArMaqAr platform.

Latent geometry of Bach’s preludes and fugues

We trained a feedforward autoencoder on Bach’s Well-Tempered Clavier. Each prelude and fugue is normalized to 60 beats per minute and written as a binary piano roll, one frame per sixteenth note, then cut into overlapping four-beat sequences of 16 frames and 88 pitches. The encoder compresses each sequence to a 128-dimensional vector and the decoder reconstructs it. The model is trained only to reconstruct its input: no key, mode or harmonic labels are used at any point. This is followed by a PCA projection to 2D. The circle of fifths spontaneously emerges from this projection.

Contributors: Najla Sadek.

CGDAEBF#C#AbEbBbF
Each grey dot is a measure. The red line joins the average position of each pitch-class (major and minor)

MaqamNet

A deep learning framework for identifying Arabic maqamat from audio. We show that tonic estimation is the main source of error: when the tonic is known, standard classifiers reach 91 to 94 percent accuracy, and each 25 cents of tonic error costs about 8 percentage points. MaqamNet avoids explicit tonic estimation by cross-correlating pitch histograms with maqam and jins templates from DiArMaqAr, and its learned representations can be interpreted in terms of maqam theory.

Contributors: Khyam Allami, Mohammad El Asal, Dany Abou Jaoude.

Diagram of the MaqamNet framework: pitch detection, octave-folded pitch histograms, DiArMaqAr templates and tuning systems, cross-correlation, and the network.
Figure 1 of the paper. Pitch is tracked and folded into an octave, then cross-correlated with maqam templates and tuning systems from DiArMaqAr; MaqamNet classifies the resulting tensor without first estimating the tonic.

Machine learning and generation

Generative models learn from music made by people. We are interested in systems in which musicians and models perform together, and those require interfaces better suited to performance than a computer keyboard and a screen.

Piano of Life

A browser-based application in which a top-down video of piano hammers seeds a Game of Life, whose column density acts as a live spectral filter on the piano’s audio. It is written in plain JavaScript with Canvas 2D and Web Audio. It works with any top-down piano video.

A top-down view of piano hammers.

Aria in Ableton

An integration and adaptation of Aria, an open generative piano model, into Ableton Live. The model continues a phrase played by the performer, and its output can be recorded and looped during a live performance.

Contributors: Anthony Haber.

Three takes from April 2026, each a short prompt followed by Aria’s continuation, the first two at temperature 0.45 and the third at 0.9. Prompt notes are dark, Aria’s are red. Press play to hear them.

Joining the lab

AUB undergraduates from any year can join through the Vertically Integrated Projects program, where work in the lab counts toward course credit. Students work in small teams on one of the projects above, and the work touches electronics, mechatronics, acoustics, signal processing and machine learning.

Musicians and dancers who would like to try the instruments and help shape them are also welcome. For enquiries, write to Joseph Bakarji at jb50@aub.edu.lb.