Predictive Mugham: Training RNNs to Model the Microtonal Deviations and Emotional Trajectories of the Segah Mode
The intersection of AI and Mugham: How are we modeling the microtonal nuances and emotional depth of the Segah mode using RNN neural networks?

At the Intersection of Musical Heritage and AI
Azerbaijani Mugham is not merely a genre; it is a complex philosophical and mathematical system refined through millennia. Today, at PromptAZ Music, we explore the digital future of the Segah mode—the most romantic and emotional mode of Mugham. Using Recurrent Neural Networks (RNNs), we are modeling the intricacies of this mode: its microtonal deviations and emotional trajectories.
The Mathematical and Emotional Depth of Segah
In Azerbaijani music, Segah is the vessel for love, longing, and romanticism. However, the greatest challenge in digitizing it lies in its non-tempered nature. The subtle, microscopic pitch variations (microtones) between the frets of the Tar constitute the very soul of Mugham. Our model focuses on:
- Microtonal Deviations: Analyzing quarter-tones produced by the Tar and Kamancha that do not fit into standard Western notation.
- Emotional Trajectories: Predicting the rise and fall of tension and the placement of climactic moments during a performance.
- Qızıl Fond (Golden Fund) Archives: Utilizing a rich dataset of performances by legendary masters like Seyid Shushinski and Khan Shushinski for training.
RNN and LSTM: The Music of Time Series
Mugham is a time-dependent art form. Long Short-Term Memory (LSTM) networks, a specialized type of RNN, allow the model to remember the relationship between the beginning and end of musical phrases. This is the ideal tool for teaching AI the logic behind transitions between Segah’s sections (shöbə), such as "Zabul" or "Hissar.".
Looking Ahead: Digital Preservation
This technology is not just about generating music; it is a means of preserving the unique performance styles stored in the "Golden Fund" for future generations. We view AI not as a rival to Mugham, but as its eternal guardian and analytical companion.