Music Intelligence Lab

We are a research lab at the American University of Beirut. We design new musical instruments, study the structure of music, with a focus on Arabic music, embodied real-time movement-to-sound instruments, machine learning models for music analysis, real-time algorithmic composition, and large generative models.

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.

Gluvn: A glove instrument

Gluvn is a wearable glove with a flex sensor on each finger, a 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.

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.

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. Accepted to the NeurIPS 2026 Creative AI track.

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. ISMIR 2026.

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. EAIM 2026 workshop.

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. ISMIR 2026.

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.