Music Intelligence Lab

Instruments, models, and musical traditions.

A research group at the American University of Beirut working at the intersection of music, technology, and intelligence. We design new instruments, build machine learning models for music understanding and generation, and treat Arabic and Mediterranean musical traditions as living, computable material.

Led by Joseph Bakarji. Housed jointly at the Maroun Semaan Faculty of Engineering and Architecture and the School of Computing and Data Sciences.

We treat music as physical, mathematical, and computational intelligence at once: the coordination a musician's body learns over years, the structure inside tunings, modes, and rhythmic cycles, and the models that can describe and extend musical practice. Most of our projects start from a body moving and end with a sound, and we build the instruments, sensors, and models in between. The aim is tools for musicians and dancers that stay personal, human, and rooted in specific cultural contexts.

Rope Flow Music

A weighted "flow" rope is instrumented with an inertial sensor at the handle and streams motion over Bluetooth into a live pipeline. Movement is classified into a small learned vocabulary of cycles, and each cycle is mapped to musical output through a DAW.

The rope started in 2024 as our first movement-to-sound experiment and is the technical seed of Music in Motion. It has been presented at NeurIPS Creative AI 2026 (Agency track).

Dance to Music

A browser-based tool that turns dance into music with no wearable hardware. A live camera runs a MediaPipe pose model in real time, joint positions and their derivatives (velocities, accelerations, coordination features) are extracted, and a mapping layer routes them to sound. It runs entirely in the browser, so anyone with a webcam can play.

Where the Musical Flow Rope constrains the body through an object, Dance to Music takes the opposite path: the full moving body as the interface. It is developed as part of the Music in Motion project, with dancer Jana as the current lead performer.

Gluvn: a musical glove

Gluvn is a wearable five-finger sensor glove that maps hand posture and gesture to expressive musical control. Flex sensors on the fingers, pressure at the fingertips, and inertial sensing at the wrist are combined into continuous MIDI and audio control signals.

Where the rope constrains the body into a small learnable vocabulary, the glove sits at the opposite pole: an unbounded gesture space that has to be shaped into playability through careful mapping design.

DiArMaqAr

Digital Arabic Maqam Archive (DiArMaqAr)

DiArMaqAr is an open-source, open-access web platform for exploring Arabic maqām theory and practice. It is the first framework to unify tanāghīm (tuning systems), ajnās (tetrachords), and maqāmāt (melodic modes) in a single interactive environment, drawing on both historical treatises and living performance practice.

The archive is developed by Khyam Allami with the lab and integrates network-analysis views that expose connections and family structures across the maqām world.

Maqam Identification (MaqamNet, ISMIR)

MaqamNet is a musicologically interpretable deep-learning framework for Arabic maqām identification. The work was presented at ISMIR 2026 and builds a shared benchmark and analysis pipeline for maqām recognition across recordings from multiple traditions.

Piano hammers seeding a Game of Life

Piano of Life

A top-down piano video seeds a shaded Game of Life whose column density becomes a live spectral filter over the piano's own audio. What starts as a video of the hammers becomes a self-organising visualisation and a musical process at once. Vanilla JavaScript, Canvas 2D, and Web Audio; no dependencies. MIT licensed.

AI for Arabic Music

AI for Arabic Music

A broader research strand on generative AI for music that treats Arabic musical traditions as a first-class case rather than an edge case. We investigate how text-to-audio and symbolic models can be adapted to microtonal tuning, maqām-based melody, and rhythmic cycles specific to the region. The goal is to build models that respect the internal logic of a tradition while opening new avenues for improvisation and composition.

  • Center for Advanced Mathematical Sciences (CAMS), AUB. Institutional host and long-standing partner on the Music, Mathematics, and Machines initiative.
  • AUB Artificial Intelligence, Data Science, and Computing Hub. Cross-faculty support and computing resources.
  • Arab Fund for Arts and Culture (AFAC). Funder of Music in Motion, co-funded by the European Union under the Ecologies of Culture (EoC) Creative Labs programme, in partnership with Oxfam, Echos Electrik, and Megaphone.
  • AUB Science meets Arts internal stimulus fund. Supporting composition and performance work with Joelle Khoury.
  • AUB University Research Board (URB). Internal grant support across our research lines.

For prospective students, collaborations, or press: jb50@aub.edu.lb. See the people page for the full team.

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

The Music in Motion 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.

This document has been produced with the financial assistance of the European Union. The contents of this document are the sole responsibility of Music Intelligence Lab, American University of Beirut & Olivier Chiniara, and can under no circumstances be regarded as reflecting the position of the European Union.