The Algorithmic Roots of the Systematist School: Applying Safiaddin Urmavi’s 13th-Century Musical Grids to Generative AI Mugham Composition
Explore the intersection of Safiaddin Urmavi’s 13th-century mathematical music systems with modern AI and Mugham composition.

The Mathematics of the Past, the Melody of the Future
The 'Systematist School' founded by Safiaddin Urmavi in the 13th century—the Renaissance of Azerbaijani music culture—can be considered the spiritual and scientific ancestor of today's digital algorithms. The 17-tone scale and circular interval systems described in Urmavi's 'Kitab al-Adwar' are, in essence, the early prototypes of the mathematical models used by modern generative AI to compose music.
Urmavi Grids and Artificial Intelligence
Mugham is not merely a musical genre; it is a system with a profound philosophical and mathematical structure. The tables and 'adwar' (circles) created by Urmavi regulated the relationships between sounds with precise algorithms. Today, at PromptAZ, when we integrate these ancient 'musical grids' into AI, we recreate the cheerfulness of Rast or the melancholy of Bayati-Shiraz in the digital realm.
- Rast: Algorithmically the most stable and optimistic structure.
- Shur: A complex mathematical chain of lyrical and emotional transitions.
- Segah: A romantic sequence of harmonic intervals.
From the Golden Fund to the Future
The vibrations of the 11 strings of the Tar and the wail of the Kamancha are now analyzed through Machine Learning. However, the goal is not to create soulless music, but rather to preserve the genetic code of Mugham by merging Urmavi’s system with digital 'Qızıl Fond' (Golden Fund) archives. When the breath of the Balaban and the rhythm of the Gaval are deciphered by AI, we build an unbreakable bridge between 13th-century science and 21st-century technology.
Conclusion
Safiaddin Urmavi’s systematic approach proves that Azerbaijani Mugham has always stood at the pinnacle of both science and art. Generative AI does not destroy this heritage; instead, it carries it into a new era, reintroducing it to humanity.