Portfolio
QaraamiGen in ten minutes
Somali qaraami is an oud-led song tradition passed on by ear, with almost no written scores and a tuning no piano has. This project builds the tools to study it with computation: transcription that writes a recording out as sheet music with its measured scale, generation models fine-tuned on Somali recordings, and an evaluation that reports what the ear says next to what the loss says. It is built and maintained by Khalid Ibrahim.
Everything below opens with no login and no setup.
1. Turn a recording into sheet music
2 minIn your browser: one click on a sample, or your own file or microphone. The melody is written out with the five-note scale and the tuning measured from the audio itself.
93 % of the agreement between two human annotators on a public benchmark
2. Read three scores
2 minAutomatic transcriptions of qaraami with playback, and what the measured tuning shows about a five-note scale that is not tuned like a piano.
Minor seventh +8.1 cents over 42 recordings
3. Separation and restoration
in progressOriginal, extracted oud, extracted voice and remix; and noisy tape, noise and restored, on an oud recording made for this project. The page will be linked here when the recording is in.
4. Check the numbers
2 minHeld-out gains of the fine-tuned models with 95 % intervals, the blind listening results beside them, and the transcription pool in one table.
Large model: +0.128 nats [0.104, 0.152] on 27 unseen songs
5. Read the code
2 minTraining harness, evaluation scripts, the transcription pipeline and this site are open source. Two defects found along the way in the MusicGen implementation of huggingface/transformers were reported upstream, each with a one-minute reproducer.
Repository ↗Issue #49094: dropout breaks fine-tuning ↗Issue #49095: training call fails on every checkpoint ↗Hugging Face Space ↗Both defects still reproduce on the main branch (checked 2026-11-21)
6. Generation
work in progressMusicGen fine-tuned on oud recordings. The loss improves on unseen songs; the audio is not there yet, and the blind tests say so. The numbers and the blind sittings are on the results page.
Demo video
Placeholder. A three-minute screen recording of the tools above will be linked here.
Rights
No archival recording is served on this site. Every clip you can play is AI model output from models trained only on consented recordings, or is synthesised. Models trained on archive cassettes are reported as numbers only. Data provenance