Safi al-Din al-Urmawi al-Baghdadi (Persian: ) or Safi al-Din Abd al-Mu'min ibn Yusuf ibn al-Fakhir al-Urmawi al-Baghdadi (born c. 1216 AD in Urmia, died in 1294 AD in Baghdad) was a renowned musician and writer on the theory of music, possibly of Persian origin.
Safi al-Din Abd al-Mu?min ibn Yusof ibn Fakhir al-Ormawi al-Baghdadi (Sufi al-D?n in some Ottoman sources), renowned musician and writer on the theory of music, was born c. 613 AH (1216 AD), probably in Urmiya (Iran). He died in Baghdad on 28 ?afar 693 AH (28 January 1294 AD), at the age of about 80. According to the Encyclopedia of Islam "The sources are silent about the ethnic origin of his family. He may have been of Persian descent Qutb al-Din al-Shirazi calls him afdal-i ?r?n (A sage of Iran)". Based on its terminology, Al-Urmawi's 'international' modal system was intended to represent the predominant Arab and Persian local traditions.
In his youth, he went to Baghdad and was educated in the Arabic language, literature, history and penmanship. He made a name for himself as an excellent calligrapher and was appointed copyist at the new library built by the Abbassid caliph al-Musta?im.
He had also studied Shafii law  and comparative law (Khilaf Fiqh) at the Mustansiriyya Madrasa which opened in 631 AH (1234 AD). This qualified him to assume a post in al-Musta?sim's juridical administration and, after 656 AH (1258), to head the supervision of the foundations (na?ariyyat al-waqf) in Iraq until 665 AH (1267), when Nasir al-Din Tusi took over.
al-Urmawi become known as a musician and excellent lute ('Ud) player and accepted as a member of the private circle of boon companions, thanks to one of his music students, the caliph's favoured songstress Lu?a?. His musical talent made him survive the fall of Baghdad, by generously accommodating one of Hulagu's officer. Hulagu the Mongol ruler was impressed by al-Urmawi and doubled his income relative to the Abbassid era.
His musical career, however, seems to have been supported mainly by the Juvayni family, especially by Shams al-Din Juvayni and his son Sharaf al-Din Harun Juvayni who was put to death in 685 AH (1285). After the demise of his patrons, he fell into oblivion and poverty. He was placed under arrest on account of a debt of 300 dinars. He died in the Shafi'i Madrasat al-Khalil in Baghdad.
As a composer, al-Urmawi cultivated the vocal forms of ?awt, qawl and nawba. In the anonymous Persian Kanz al-tu?af of the 8th century AH (14th century AD), he is also credited with the invention of two stringed musical instruments, the nuzha and the mughn?.
Al-Urmawi's most important work are two books in Arabic Language on music theory, the Kitab al-Adw?r and Ris?lah al-Sharafiyyah fi 'l-nisab al-ta?lifiyyah. The first book was written while he still worked in the library of al-Mustasim. The Abbassid caliph was well known for his addiction to music. The second book was dedicated to Sharaf al-Din Harun Juvayni who ordered him to compile it.
The Kitab al-Adw?r is the first extant work on scientific music theory after the writings on music of Avicenna. It contains valuable information on the practice and theory of music in the Perso-?Iraqi area, such as the factual establishment of the five-stringed lute (still an exception in Avicenna's time), the final stage in the division of the octave into 17 steps, the complete nomenclature and definition of the scales constituting the system of the twelve Makams (called shud?d) and the six Aw?z modes. It also contains precise depictions of contemporary musical metres, and the use of letters and numbers for the notation of melodies. It is the first time that this occurs in history, making it a unique work of greatest value. Al-Urmawi's 'international' modal system was intended to represent the predominant Arab and Persian local musical traditions.
By its conciseness it became the most popular and influential book on music for centuries. No other Arabic (Persian or Ottoman Turkish) music treatise was so often copied, commented upon and translated into Oriental (and Western) languages. The Kitab al-Adw?r was conceived as a compendium (mukhtasar) of the standard musical knowledge of its time.
Al-Urmawi's second book, Ris?la al-Sharafiyya, was written around 665 AH (1267 AD). It is dedicated to his student and later patron, Sharaf al-Din Harun Juvayni (Juvayn is a town in Khorasan). He was part of the scientific, literary and artistic circle of the Juvayni family. Through these gatherings, al-Urmawi was in contact with the Persian scholar Nasir al-Din Tusi. Nasir al-Din Tusi, who left a short treatise on the proportions of musical intervals perceivable in the pulse may have stimulated al-Urmaw?'s interest in Greek science and music theory.
These two major books have become the foundation of academic discourse on Arabic music, most notably modern works by Briton Owen Wright. Commentaries on these theoretical works were written as early as the 1370s.
The list of the modes and ?waz (singing) modes are taken from (E. Neubaer, "Music in the Islamic Environment" in Clifford Edmund Bosworth, M.S.Asimov, "History of Civilizations of Central Asia, Volume 4, Part 2", ilal Banarsidass Publ., 2003 - 745 pages. pg 597.). The majority of the modes have Iranian/Persian names and the rest have Arabic names (some with Persian suffix 'i').
He may have been of Persian descent (Kutb al-Din Shirazi [q.v.] calls him afdal-i Iran)
|last1=in Authors list (help)CS1 maint: Extra text: authors list (link)
His ethnic origin is uncertain; he may have been of Persian descent.