Dataset Viewer (First 5GB)
Auto-converted to Parquet Duplicate
Search is not available for this dataset
The dataset viewer is not available for this split.
Server error while post-processing the rows. Please report the issue.
Error code:   RowsPostProcessingError

Need help to make the dataset viewer work? Make sure to review how to configure the dataset viewer, and open a discussion for direct support.

YAML Metadata Warning:empty or missing yaml metadata in repo card

Check out the documentation for more information.

🎡 Tunisian Malouf Music Dataset

First open-source labeled Tunisian music dataset, designed for fine-tuning generative music models β€” particularly MusicGen by Meta AI.


πŸ“– Project Context

This dataset was built as part of a final year project (PFA) focused on adapting the MusicGen model to Tunisian music.

The goal is to enable AI models to generate authentic Tunisian music from text descriptions, while respecting:

  • Maqamat (Arabic musical modes: Sika, Hsin, Raml, Iraq, Dhil, Asbahan...)
  • Traditional rhythms (Btayhi, Barwal, Draj, Khafif, Msaddar...)
  • Local instruments (Oud, Kanun, Ney, Violin, Darbouka, Tar, Bendir...)

πŸ“Š Dataset Statistics

Statistic Value
πŸ’Ύ Total size 20.8 GB
🎡 Number of segments 11,008 .wav files
⏱️ Duration per segment ~30 seconds
🎚️ Sample rate 32,000 Hz
πŸ“ Number of classes 23 labels
πŸ—‚οΈ Metadata file metadatahaggingface.jsonl

πŸ—‚οΈ Dataset Structure

tunisian-malouf-dataset/
β”œβ”€β”€ metadatahaggingface.jsonl     ← complete metadata
β”œβ”€β”€ Nuba_Asbahan-RTT/             ← Nuba Asbahan (RTT)
β”œβ”€β”€ Nuba_Dhil-RTT/                ← Nuba Dhil (RTT)
β”œβ”€β”€ Nuba_Iraq-RTT/                ← Nuba Iraq (RTT)
β”œβ”€β”€ Nuba_Raml-RTT/                ← Nuba Raml (RTT)
β”œβ”€β”€ Nuba_Sikah_1993-CMAM/         ← Nuba Sikah CMAM archives 1993
β”œβ”€β”€ Nouba_Hsin-wav-CMAM/          ← Nouba Hsin CMAM archives
β”œβ”€β”€ Awamriyya-CMAM/               ← Awamriyya CMAM
β”œβ”€β”€ Tahar_Gharsa_CMAM/            ← Tahar Gharsa (CMAM)
β”œβ”€β”€ Taher_Gharsa/                 ← Taher Gharsa
β”œβ”€β”€ Zied_Gharsa_malouf/           ← Zied Gharsa Malouf
β”œβ”€β”€ zied_gharsa/                  ← Zied Gharsa general
β”œβ”€β”€ malouf/                       ← Malouf (various artists)
β”œβ”€β”€ malouf_tunisien/              ← Tunisian Malouf general
β”œβ”€β”€ malouf_Tunisien/              ← Tunisian Malouf (variant)
β”œβ”€β”€ malouf_vocal_instrumental/    ← Vocal + instrumental Malouf
β”œβ”€β”€ malouf_instrumental/          ← Pure instrumental Malouf
β”œβ”€β”€ malouf_nouba_classical/       ← Classical Nouba
β”œβ”€β”€ malouf_andalusian/            ← Andalusian Malouf
β”œβ”€β”€ malouf_traditional/           ← Traditional Malouf
β”œβ”€β”€ Oud_solo/                     ← Tunisian Oud solo
β”œβ”€β”€ kanun_solo/                   ← Qanun solo
β”œβ”€β”€ Ney_solo/                     ← Ney solo
└── violan_solo/                  ← Violin solo

🏷️ Labels & Descriptions

Label Description Example Artists
Nuba_Asbahan-RTT Nuba Asbahan recorded by RTT RTT Ensemble
Nuba_Dhil-RTT Nuba Dhil recorded by RTT RTT Ensemble
Nuba_Iraq-RTT Nuba Iraq recorded by RTT RTT Ensemble
Nuba_Raml-RTT Nuba Raml recorded by RTT RTT Ensemble
Nuba_Sikah_1993-CMAM Nuba Sikah β€” CMAM archives 1993 CMAM
Nouba_Hsin-wav-CMAM Nouba Hsin β€” CMAM archives CMAM
Awamriyya-CMAM Awamriyya β€” CMAM archives CMAM
Tahar_Gharsa_CMAM Tahar Gharsa β€” CMAM recordings Tahar Gharsa
Taher_Gharsa Taher Gharsa β€” various recordings Taher Gharsa
Zied_Gharsa_malouf Zied Gharsa β€” Malouf Zied Gharsa
zied_gharsa Zied Gharsa β€” general Zied Gharsa
malouf_vocal_instrumental Malouf with voice and instruments Sonia Mbarek, Dorsaf Hamdani, Lotfi Bouchnak
malouf_nouba_classical Classical Tunisian Nouba Classical ensemble
malouf_instrumental Pure instrumental Malouf Various
malouf_tunisien General Tunisian Malouf Various
malouf_andalusian Andalusian Malouf (IMA, Monastir, Paris) Andalusian ensemble
malouf_traditional Traditional Malouf Various
malouf Malouf β€” various artists Hassan Araibi, Hamdi Benani...
Oud_solo Tunisian Oud solo Zied Gharsa, Anouar Brahem
kanun_solo Tunisian Qanun solo Various
Ney_solo Tunisian Ney solo Various
violan_solo Tunisian Violin solo Anis Klibi, Mehdi Zekri...

πŸ“‹ Metadata Format (JSONL)

Each line of metadatahaggingface.jsonl describes one audio segment:

{
  "audio": "Nuba_Sikah_1993-CMAM/Nuba_Sikah_1993-CMAM_9_Piste_audio_002.wav",
  "text": "Rachidia Khatm final de la Nuba Sikah. Pièce vocale collective rapide et énergique marquant la clôture de la performance. Rythme Barwal vif avec percussions accentuées et chœur à l'unisson.",
  "label": "Nuba_Sikah_1993-CMAM",
  "mode": "Sika",
  "genre": "Malouf Tunisien",
  "rythme_iqaa": ["barwal"],
  "instruments": ["oud", "violon", "kanun", "ney", "darbouka", "tar", "bendir"],
  "date": "1993",
  "pays": "tunisie",
  "sample_rate": 32000,
  "duration": 30
}

πŸ” Field-by-Field Explanation

🎡 audio

  • Type: string
  • Content: Relative path to the .wav audio file within the dataset.
  • Example: "Nuba_Sikah_1993-CMAM/Nuba_Sikah_1993-CMAM_9_Piste_audio_002.wav"
  • Details: Each file is a ~30-second segment extracted from a longer original recording. Files are organized by label folder. Used directly as input to MusicGen during fine-tuning via the EnCodec tokenizer which converts raw audio into discrete tokens.

πŸ“ text

  • Type: string
  • Content: A rich French textual description of the audio segment, serving as the text prompt for MusicGen fine-tuning.
  • Example: "Rachidia Khatm final de la Nuba Sikah. PiΓ¨ce vocale collective rapide et Γ©nergique..."
  • Details: Each description covers the musical context (piece name, performance type), the mood and energy (slow/fast, calm/energetic), the rhythmic pattern, the instrumentation, and the vocal style. This is the core training signal β€” MusicGen learns to associate this text with the corresponding audio.

🏷️ label

  • Type: string
  • Content: The class/category of the audio segment β€” corresponds to the folder name.
  • All 23 possible values: Nuba_Asbahan-RTT, Nuba_Dhil-RTT, Nuba_Iraq-RTT, Nuba_Raml-RTT, Nuba_Sikah_1993-CMAM, Nouba_Hsin-wav-CMAM, Awamriyya-CMAM, Tahar_Gharsa_CMAM, Taher_Gharsa, Zied_Gharsa_malouf, zied_gharsa, malouf, malouf_tunisien, malouf_Tunisien, malouf_vocal_instrumental, malouf_instrumental, malouf_nouba_classical, malouf_andalusian, malouf_traditional, Oud_solo, kanun_solo, Ney_solo, violan_solo

🎼 mode

  • Type: string
  • Content: The musical mode (maqam) β€” the tonal scale system of Arab music, equivalent to a key but with specific melodic rules and emotional character.
Value Arabic Character
Sika Ψ³ΩŠΩƒΨ§ Soft, expressive, intimate
Hsin Ψ­Ψ³ΩŠΩ† Nostalgic, melancholic
Raml Ψ±Ω…Ω„ Light, fluid, flowing
Raml Maya Ψ±Ω…Ω„ Ψ§Ω„Ω…Ψ§ΩŠΨ© Gentle, lyrical
Iraq ΨΉΨ±Ψ§Ω‚ Solemn, ceremonial
Dhil Ψ°ΩŠΩ„ Deep, contemplative
Asbahan Ψ£Ψ΅Ψ¨Ω‡Ψ§Ω† Joyful, bright
Asbaayn Ψ£Ψ΅Ψ¨ΨΉΩŠΩ† Variant of Asbahan
Muhayyar Ω…Ψ­ΩŠΨ± Suspended, wondering
Maya Ω…Ψ§ΩŠΨ© Ancient, sacred

🎭 genre

  • Type: string
  • Content: The broad musical genre of the segment.
Value Description
Malouf Tunisien Classical Tunisian Malouf β€” main genre of this dataset
Malouf Andalou Andalusian-origin Malouf brought to Tunisia after 1492
Oud Solo Tunisien Solo Oud in Tunisian tradition
Kanun Solo Tunisien Solo Qanun performance
Ney Solo Tunisien Solo Ney (flute) performance
Violon Solo Tunisien Solo Violin in Tunisian style

πŸ₯ rythme_iqaa

  • Type: list of strings
  • Content: List of rhythmic patterns (Iqa'at) present in the segment. Iqa'at are cyclic rhythmic structures defining the metric organization of Arab music β€” similar to time signatures but with specific drum stroke patterns.
Value Description Feel
btayhi Slow, majestic β€” 8 beats Slow & solemn
msaddar Opening movement rhythm Moderate
barwal Fast closing rhythm Fast & festive
draj Medium tempo, flowing Moderate & fluid
khafif Light, quick rhythm Light & rapid
tushiya Instrumental prelude rhythm Introductory
istiftah Opening/introductory rhythm Ceremonial
abyat Poetic verse rhythm Declamatory
khatm Closing/finale rhythm Final & conclusive

🎻 instruments

  • Type: list of strings
  • Content: List of instruments identified in the audio segment.
Value Instrument Role
oud Oud (عود) Plucked lute β€” melodic backbone
violon Violin Bowed string β€” melodic lead
kanun Qanun (Ω‚Ψ§Ω†ΩˆΩ†) Plucked zither β€” harmonic/melodic
ney Ney (Ω†Ψ§ΩŠ) End-blown flute β€” melodic
darbouka Darbouka (Ψ―Ψ±Ψ¨ΩˆΩƒΨ©) Goblet drum β€” rhythmic
tar Tar (Ψ·Ψ§Ψ±) Frame drum β€” rhythmic
bendir Bendir (Ψ¨Ω†Ψ―ΩŠΨ±) Frame drum with snare β€” rhythmic

πŸ“… date

  • Type: string
  • Content: The year of the original recording (not the segmentation date).
  • Range in dataset: "1984" to "2025" β€” covering 40+ years of Tunisian musical heritage.
  • Examples: "1984", "1993", "2004", "2017", "2019", "2021", "2022", "2024", "2025"

🌍 pays

  • Type: string
  • Content: The country of origin of the recording.
  • Main value: "tunisie". Some international performances (Paris, Monastir festivals) are tagged accordingly.

🎚️ sample_rate

  • Type: integer
  • Content: The audio sampling rate in Hz.
  • Value: Always 32000 (32 kHz) β€” the standard rate required by MusicGen's EnCodec tokenizer. All original recordings were resampled to this rate during preprocessing using torchaudio / scipy.

⏱️ duration

  • Type: float
  • Content: The duration of the audio segment in seconds.
  • Values: Mostly 30.0. Some final segments may be shorter (e.g., 0.39, 1.30, 15.0).
  • Details: Original recordings were split into fixed 30-second segments using a sliding window. This corresponds to T_MAX = 1500 frames at 50 frames/second in MusicGen's internal representation. Shorter final segments were kept to preserve all musical content.

✍️ Citation

@dataset{ghanmi2025tunisian,
  author    = {Malek Ghanmi},
  title     = {Tunisian Malouf Music Dataset},
  year      = {2025},
  publisher = {Hugging Face},
  url       = {https://huggingface.co/datasets/malekghanmi/tunisian-malouf-dataset}
}
Downloads last month
2