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
.wavaudio 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 usingtorchaudio/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 framesat 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