السلام عليكم،
مشاركة ملف طبل.ض.
يهدف هذا الملف إلى توليد إيقاعات الطبلة الشرقية وإيقاعات المالوف بطريقة برمجية، مع إنشاء ملفات صوتية بصيغة WAV دون الاعتماد على تسجيلات صوتية جاهزة.
محتويات الملفتعريف الأصوات الأساسية للطبلة مثل: دم، تك، كا، سك، رول، سكتة باستخدام التوليف الصوتي (Sound Synthesis).
إنشاء قاعدة بيانات تحتوي على عشرات الإيقاعات العربية وإيقاعات المالوف.
توليد الموجة الصوتية لكل إيقاع حسب ترتيب الضربات والسرعة (BPM).
إنشاء ملفات WAV وكتابتها مباشرة باستخدام دوال الملفات في المكتبة القياسية Ring.
حفظ جميع الإيقاعات داخل مجلد واحد مع إنشاء أسماء ملفات مناسبة تلقائياً.
يشمل المثال عدداً كبيراً من الإيقاعات التقليدية المستخدمة في العالم العربي، ومنها:
مصر: مقسوم، بلدي، سعيدي، أيوب، جورجينا، فوكس شرقي، زفة، سماعي دارج.
بلاد الشام (سوريا ولبنان): وحدة، وحدة كبيرة، سماعي دارج، فالس شرقي.
المغرب العربي: مصمودي صغير، مصمودي كبير.
الخليج العربي: كراتشي، خليجي.
العراق: شعبي عراقي، فاخت.
تركيا: كرشلمة، سماعي ثقيل.
التراث العثماني: سماعي ثقيل.
الأندلس: هزج.
تونس: إيقاعات المالوف مثل البسيط، البطايحي، الدرج، الخفيف، القائم ونصف، والمصدر.
الجزائر: المالوف الجزائري (البسيط، الذرج، الخفيف).
ليبيا: المالوف الليبي (المصدر، البطيحي).
كما يتضمن إيقاع نوخت المستخدم في الموسيقى الإيرانية والأفغانية.
يوضح المثال كيفية استخدام دوال الملفات لإنشاء ملفات صوتية ثنائية (Binary Files)، كما يقدم نموذجاً عملياً لتوليد الأصوات رقمياً باستخدام لغة Ring.
الملف متاح للعامة ضمن الأمثلة المنشورة على:
https://abgd2000.github.io/ abgd2000.github.io
مع أطيب التحيات،
حسن حربي
Hello,
I am pleased to share طبل.ض.
This example demonstrates how to generate Arabic tabla and Maalouf rhythms programmatically and save them as standard WAV audio files without using prerecorded samples.
FeaturesImplements synthesized tabla sounds including Dum, Tak, Ka, Sak, Roll, and Rest.
Contains a database of traditional Arabic and Maalouf rhythms.
Generates complete rhythm waveforms according to BPM and beat patterns.
Creates valid WAV files directly using the Ring Standard Library file functions.
Automatically creates the output directory and saves every rhythm as a separate audio file.
The example includes rhythms from several musical traditions:
Egypt: Maqsum, Baladi, Saidi, Ayyoub, Georgina, Fox Sharqi, Zaffa, Sama'i Darij.
Levant (Syria & Lebanon): Wahda, Wahda Kabira, Sama'i Darij, Waltz Sharqi.
Maghreb: Masmoudi Saghir and Masmoudi Kabir.
Arabian Gulf: Karachi and Khaliji.
Iraq: Shaabi Iraqi and Fakht.
Turkey: Karshlama.
Ottoman tradition: Sama'i Thaqil.
Andalusian tradition: Hazaj.
Tunisia: Maalouf rhythms including Basit, Btaihi, Darj, Khafif, Qa'im wa Nusf, and Msadder.
Algeria: Algerian Maalouf rhythms including Bsita, Dharj, and Khefif.
Libya: Libyan Maalouf rhythms including Msaddar and Bteihi.
The collection also includes Nawakht, a rhythm found in Iranian and Afghan musical traditions.
This example demonstrates practical use of the Ring Standard Library for binary file handling, digital sound synthesis, waveform generation, and automatic WAV file creation.
The source code is publicly available on:
https://abgd2000.github.io/ abgd2000.github.io
Best regards,
Hassan Harby