Hierarchical Generative Modeling of Melodic Vocal Contours in Hindustani Classical Music

Nithya Nadig Shikarpur, Krishna Maneesha Dendukuri, Yusong Wu, Antoine Caillon, Cheng-Zhi Anna Huang

Introduction

Hindustani classical music (HCM) is a performance-driven oral tradition defined by its fluid, continuous melodic movements. Unlike Western classical music, which is often represented through discrete symbolic notation like MIDI or staff notation, the essence of HCM lies in the transitions between notes—the slides (meend) and oscillations (gamak) that give the music its emotional depth. Traditional generative models often struggle with this genre because they either rely on coarse symbolic representations that strip away these nuances or require massive datasets for direct audio synthesis that are rarely available for niche cultural domains.

To address these challenges, researchers have developed GaMaDHaNi, a hierarchical generative model designed to capture the intricate vocal contours of Hindustani singing. By utilizing finely quantized pitch contours as an intermediate representation, the model bridges the gap between abstract musical intent and raw audio generation.

The Challenge of Continuous Melody

The primary hurdle in modeling HCM is the "on/off" nature of standard music AI. In symbolic systems, a note is a static block with a fixed pitch and duration. However, in Hindustani music, the "soul" of the melody exists in the space between the notes. Furthermore, modern foundation models for audio, such as MusicLM, typically require tens of thousands of hours of training data. HCM, while rich in history, lacks the vast, high-quality, labeled datasets necessary for these large-scale approaches. The researchers hypothesized that a hierarchical structure—one that understands the continuous nature of melody—could achieve high-quality results with significantly less data.

The GaMaDHaNi Framework

The GaMaDHaNi model (named after the Indian solfege syllables Ga Ma Dha Ni) employs a modular, three-stage hierarchy to decouple melody from vocal texture.

1. Pitch Generation

The first stage generates the "skeleton" of the melody. Pitch is represented as a sequence of values sampled at 100Hz with a fine resolution of 10 cents (one-tenth of a semitone). Two distinct architectures were evaluated for this task:

  • Discrete Autoregressive Model: A Transformer-based architecture that treats pitch values as tokens in a vocabulary.
  • Continuous Diffusion Model: An Iterative $\alpha$-Deblending (IADB) model that generates the pitch contour by iteratively denoising a random signal.

2. Spectrogram Generation

The generated pitch contour, along with a "Singer ID" embedding, is passed to a spectrogram generator. This module produces a mel-spectrogram—a visual representation of frequency over time—that captures the specific timbral characteristics of the target voice.

3. Audio Synthesis (Vocoder)

Finally, the mel-spectrogram is converted into a listenable audio waveform using the Griffin-Lim algorithm. This hierarchical approach allows the model to learn complex musical patterns from a relatively small dataset by focusing on the structural components of the melody before synthesizing the final audio.

Experimental Setup and Data

The study utilized approximately 120 hours of audio from two prominent open-source datasets: Saraga and the Hindustani Raga Recognition Dataset (HRRD). These datasets include performances from 56 unique singers. To ensure the model focused on vocal nuances, the researchers used source separation (HT Demucs) to isolate the vocal tracks from traditional accompaniment instruments like the tanpura (drone) and tabla (drums).

Key Results and Insights

The GaMaDHaNi framework demonstrated several key advantages over traditional and non-hierarchical models:

  • Human Preference: In a listening test involving 15 trained Indian classical musicians, the GaMaDHaNi models (both Transformer and Diffusion variants) were significantly preferred over baselines that attempted to generate audio directly. This confirms that structural priors are essential for culturally specific, data-constrained domains.
  • Pitch Adherence: The model showed a high degree of fidelity to the intended melody. The spectrogram generator achieved a mean Pearson correlation of 0.71 between the input pitch and the pitch extracted from the final generated audio.
  • Controllability and Solfege-to-Audio: One of the most promising features is the model's ability to be guided by "coarse" conditioning. A user can provide a simple, staircase-like pitch signal (representing basic notes), and the model can "hallucinate" the appropriate Hindustani-style ornamentations to create a realistic performance. This enables a "solfege-to-audio" workflow where simple inputs are transformed into complex musical expressions.

Discussion and Future Work

While GaMaDHaNi represents a significant step forward, several avenues for improvement remain. The current model lacks explicit knowledge of Raga (melodic framework) or Tala (rhythmic cycle), which are fundamental to HCM. Future iterations could incorporate these as conditioning signals to ensure greater musicological consistency. Additionally, replacing the Griffin-Lim vocoder with a neural vocoder like HiFi-GAN could reduce "robotic" artifacts and improve overall audio fidelity.

Finally, the researchers noted the ethical implications of this work, particularly regarding the ability to mimic specific singers' identities. They emphasize that GaMaDHaNi is intended as a tool for human-AI collaboration, designed to assist musicians and students rather than replace the human element of this ancient tradition.

Summary updated

BibTeX
@inproceedings{shikarpur2024hierarchical,
  author = {Nithya Nadig Shikarpur and Krishna Maneesha Dendukuri and Yusong Wu and Antoine Caillon and Cheng-Zhi Anna Huang},
  title = {{Hierarchical Generative Modeling of Melodic Vocal Contours in Hindustani Classical Music}},
  booktitle = {ISMIR},
  year = {2024},
  url = {https://openreview.net/forum?id=KYqoRodynw},
}
Figure