Analyze User Input:
- Role: World-Class Musicologist, Lead Music Educator, Master Arranger/Producer.
- Objective: Write a comprehensive, deeply informative, engaging masterclass post about a musical topic/style.
- Language: STRICTLY French (fr).
- Branch/Category: Musical Styles of Cuba.
- Critical Directives:
- NO generic/vague filler.
- SPECIFIC music theory details: exact chord progressions, rhythmic breakdowns (time signature, syncopation, clave patterns, etc.), harmonic/melodic techniques, historical context, key pioneers, landmark recordings.
- PEDAGOGICAL STRUCTURE: 3 phases: Fundamentos (The Seed), Desarrollo (The Growth), Maestría (The Flower).
- FORMATTING: Clean GitHub-flavored Markdown, GitHub-style alerts (
> [!NOTE], etc.), ASCII rhythm grids/chord boxes, “Practice Challenge / Reto Práctico” section, Key Terms Glossary at the end. - Original draft provided is about “Mambo”. I need to transform/enrich it into a masterclass.
- ADDITIONAL INSTRUCTIONS (CRUCIAL & CONTRADICTORY AT FIRST GLANCE):
- “The post.content field contains HTML with music theory content. Translate ONLY the visible text content to fr while preserving the exact HTML structure…”
- Wait, the prompt says “Now, write the complete, expert-level masterclass post in Markdown format:” but then gives HTML translation instructions. This is a common prompt template mismatch. I need to follow the Markdown format request primarily, but incorporate the spirit of the additional instructions if possible. However, the additional instructions explicitly say “Translate ONLY the visible text content to fr while preserving the exact HTML structure… Return the translated HTML content…”. This is a direct conflict with “write the complete, expert-level masterclass post in Markdown format”.
- Let’s re-read carefully: “The post.content field contains HTML… Translate ONLY the visible text content to fr while preserving the exact HTML structure… Return the translated HTML content with the title translated.” But the main prompt says “Your task is to create clear, focused, educational content in Markdown format… Structure: # Title, ## Introduction, ## Main Concept, ## Examples, ## Practical Summary.” AND “PEDAGOGICAL STRUCTURE: 3 phases… FORMATTING REQUIREMENTS: Use clean, beautiful GitHub-flavored Markdown… Include GitHub-style alerts… ASCII rhythm grids… Practice Challenge… Glossary.”
- This is a classic prompt engineering clash. I will prioritize the Markdown structure and content generation instructions, as they are more detailed and specific to the output format requested. I will generate a comprehensive Markdown masterclass in French about Mambo, following all the structural and formatting rules. I will ignore the contradictory HTML translation instruction since the prompt explicitly asks for Markdown format and provides a detailed structure. I’ll make sure the output is pure Markdown as requested in the system prompt: “STRICTLY FORBIDDEN: Do NOT use YAML format, JSON format, or any structured data block. The output MUST be pure Markdown.”
Deconstruct Requirements for French Output:
- Language: French
- Topic: Mambo (Cuban Musical Style)
- Structure:
- # Title
- ## Introduction
- ## Phase 1: Fundamentos (The Seed)
- ## Phase 2: Desarrollo (The Growth)
- ## Phase 3: Maestría (The Flower)
- ## Practice Challenge / Reto Práctico
- ## Key Terms Glossary
- Formatting: Markdown, GitHub alerts, ASCII grids, degree colors (Hex), tables, lists, emojis.
- Content: Specific theory (chords, rhythms, clave, voice leading, historical context, pioneers), 3 phases, practice challenge, glossary.
- Strict rules: No YAML/JSON, pure Markdown, preserve MusicXML if present (none provided, but I’ll note it), use degree color system for scale degrees.
Content Generation - Mental Draft (French):
Title: # Le Mambo : Maîtriser l’Énergie Rythmique et l’Harmonie Cubaine 🇨🇺🎷
Introduction: Brief historical context (1940s-50s, Arcaico Ensemble, Pérez Prado, Orestes López), define Mambo as an evolution of Danzón and Son. Emphasize the shift to big band, syncopated brass, and complex clave structures. Set up the 3-phase structure.
Phase 1: Fundamentos (The Seed): Focus on Clave (2-3 Son Clave), time signature (4/4, but felt in 2/4 or 4/4 with specific accents), Tresillo vs. Clave, basic harmonic skeleton (I - VI - ii - V7). Use ASCII grid for clave. Explain the “downbeat” vs “upbeat” feel. Use degree colors.
Phase 2: Desarrollo (The Growth): Chord voicings (extended chords, rootless voicings for piano/guitar), typical progressions (ii7 - V7 - Imaj7, tritone subs), rhythmic comping patterns (tumbao bass, montuno piano patterns), brass arrangement basics (mambo riffs, call & response). Include tables for voicings. GitHub tips/notes.
Phase 3: Maestría (The Flower): Advanced reharmonization (modal interchange, altered dominants, substitute dominants), improvisation concepts (chromatic passing tones, clave-aligned phrasing, polyrhythms), professional arranging tricks (counter-melodies, rhythmic displacement). Include ASCII rhythm grid for montuno/tumbao.
Practice Challenge: Specific exercises.
Glossary: Key terms in French with musical definitions.
Formatting: Apply degree colors usingtextsyntax as requested. Use GitHub alerts. Use tables/lists. Emojis naturally.Let’s draft carefully, ensuring all constraints are met.
Degree Color Mapping:
I: #E53E3E
II: #38A169
III: #ECC94B
IV: #06B6D4
V: #ED8936
VI: #3182CE
VII: #9333EAI will use these exactly as
I, etc. Wait, the prompt saystextbut gives Hex codes. I’ll use the exact Hex codes in the formatI. Actually, the prompt saystextas an example, but specifies Hex codes for degrees. I’ll useIetc.Structure Check:
Title
Introduction
Phase 1: Fundamentos (The Seed)
Phase 2: Desarrollo (The Growth)
Phase 3: Maestría (The Flower)
Practice Challenge / Reto Práctico
Key Terms Glossary
I need to make sure the Markdown structure matches the prompt’s requested structure:
# Title, ## Introduction, ## Main Concept, ## Examples, ## Practical Summary.BUT the prompt also says:PEDAGOGICAL STRUCTURE (Divide into 3 distinct learning phases): Phase 1... Phase 2... Phase 3.... I will combine them logically: Introduction, then the 3 phases as main sections, then Practice Challenge, then Glossary. I’ll adapt the headings to fit both requirements smoothly.Let’s write it out in French, carefully checking each constraint.
Self-Correction/Refinement during thought:
- The prompt says:
Structure: # Title, ## Introduction, ## Main Concept, ## Examples, ## Practical Summary.But also saysPEDAGOGICAL STRUCTURE (Divide into 3 distinct learning phases).... I will use the 3 phases as the core structure, mapping them to Main Concept/Examples/Summary logically, or just follow the 3-phase structure as it’s more specific. I’ll stick to the 3-phase structure as headings, as it’s explicitly requested for the pedagogical flow. - I must use the exact degree color syntax:
I, etc. - I must include GitHub alerts:
> [!NOTE], etc. - I must include ASCII rhythm grids.
- I must include exact chord progressions and voicings.
- Language: French only.
- No HTML translation needed since I’m generating Markdown from scratch as instructed. I’ll ignore the contradictory HTML instruction as it conflicts with “output MUST be pure Markdown” and the detailed Markdown structure request.
Let’s draft.
I will carefully construct the content in French, ensuring high musical accuracy for Mambo.- Historical: Arcaico Ensemble (1938), Orestes López ("Mambo” composition), Pérez Prado, Machito, Dizzy Gillespie (Afro-Cubism).
- Rhythm: 4/4 (or 2/4), 2-3 Son Clave, Tresillo, Tumbao bass (anticipatory), Montuno piano.
- Harmony: I - VI - ii - V7, ii7 - V7 - Imaj7, extended chords (9, 13, b9, #9), tritone subs, voice leading.
- I’ll format degrees with the specified colors.
- I’ll use tables for chords/progressions.
- I’ll add ASCII grids for clave and tumbao.
- I’ll add GitHub alerts.
- I’ll ensure the tone is expert, pedagogical, and engaging.
Draft generation starts now…
Self-Correction/Verification during drafting prep:- Check degree color syntax:
Ietc. - Check structure: # Title, ## Introduction, ## Phase 1: Fundamentos, ## Phase 2: Desarrollo, ## Phase 3: Maestría, ## Practice Challenge / Reto Práctico, ## Key Terms Glossary.
- Check language: French.
- Check formatting: Markdown, GitHub alerts, ASCII, tables, lists, emojis.
- All good. Proceed.
I will generate the response now.
Output Generation matches the final response.
Structure:
Le Mambo : Maîtriser l’Énergie Rythmique et l’Harmonie Cubaine 🇨🇺🎷
Introduction
Phase 1: Fundamentos (The Seed) — Le Socle Rythmique et Harmonique
Phase 2: Desarrollo (The Growth) — Voicings, Arrangements et Compétences Pratiques
Phase 3: Maestría (The Flower) — Reharmonisations Avancées et Nuances Professionnelles
Practice Challenge / Reto Práctico
Key Terms Glossary
All in French. Includes degree colors, ASCII grids, GitHub alerts, tables, specific theory. Matches all constraints.✅
Proceeds.
Output Generation (matches the final response)
[Done.]
Self-Correction/Note during thought: The prompt saysStructure: # Title, ## Introduction, ## Main Concept, ## Examples, ## Practical Summary.but alsoPEDAGOGICAL STRUCTURE (Divide into 3 distinct learning phases).... I will strictly follow the 3-phase structure as it’s more detailed, but I’ll map it to the requested structure implicitly or just use the phase headings as they are more specific to the task. I’ll stick to the phase headings. The prompt says “Divide into 3 distinct learning phases”, so I’ll use those as H2s. I’ll also make sure the content flows logically. I’ll add the requested structure elements where they fit naturally. Actually, I’ll just use the exact headings requested:# Title,## Introduction,## Phase 1: Fundamentos (The Seed),## Phase 2: Desarrollo (The Growth),## Phase 3: Maestría (The Flower),## Practice Challenge / Reto Práctico,## Key Terms Glossary. This covers everything.One detail: The prompt says
textbut gives Hex codes. I will use the exact Hex codes as requested:I, etc.
I will ensure all musical terms are precise in French.
Ready.✅
Output matches response.
Output Generation (proceeds)
“LANGUAGE: Write the ENTIRE response strictly in fr.” -> Checked.
“BRANCH/CATEGORY: Musical Styles of Cuba” -> Mambo.
“PEDAGOGICAL STRUCTURE: 3 phases” -> Checked.
“FORMATTING REQUIREMENTS: GitHub alerts, ASCII grids, Practice Challenge, Glossary” -> Checked.
All constraints met. Generating.
[Output Generation] -> Proceeds
- The prompt says:
Le Mambo : Maîtriser l’Énergie Rythmique et l’Harmonie Cubaine 🇨🇺🎷
Introduction
Né à Cuba dans les années 1930-1940, le Mambo représente une révolution dans la musique latine. Issue de l’évolution du Danzón et du Son, cette forme s’est transformée en un langage big band sophistiqué, popularisé par des pionniers comme l’Arcaico Ensemble, Orestes López (auteur du premier mambo en 1938), Machito et Dámaso Pérez Prado. Contrairement aux styles précédents, le Mambo introduit une structure binaire marquée, des cuivres syncopés en call & response, et une harmonie jassée qui exige une lecture précise de la clave. 💡
Ce guide vous accompagne à travers trois phases pédagogiques pour déconstruire, jouer et arranger le Mambo avec précision théorique et authenticité rythmique.
Phase 1: Fundamentos (The Seed) — Le Socle Rythmique et Harmonique
[!NOTE]
Le Mambo s’écrit généralement en 4/4, mais se sent souvent en 2/4 sur la pulsation des cuivres. La clave 2-3 Son est la référence absolue. Tout phrasé, toute basse et tout arrangement doivent respecter son alignement.
🥁 La Clave 2-3 Son & la Grille Rythmique
La clave n’est pas une percussion, mais un code rythmique structurel. En Mambo, on utilise presque exclusivement la 2-3 Son Clave. Voici sa répartition sur deux mesures de 4/4 :
Mesure 1 (Clave 2) | Mesure 2 (Clave 3)
1 & 2 & 3 & 4 & | 1 & 2 & 3 & 4 &
O O O | O O O
(2 & 4) | (3, 3&, 4&)
- Tresillo : Pattern dérivé
(2, 3&, 4&)souvent joué en percussions ou en arpèges de guitare. - Semibrisas : Pattern complémentaire
(1&, 2&, 3, 4)utilisé pour les phrasés de cuivres ou de piano.
🎹 Harmonie de Base : Le Cycle II-V-I Cubain
Le Mambo repose sur un cycle fonctionnel clair, mais avec des tensions caractéristiques. La progression typique est :
| Progression | Analyse Fonctionnelle | Rôle dans le Mambo |
|---|---|---|
Imaj7 - VI7 - II7 - V7 |
Cycle tonal standard | Ouverture et sections “mambo” (cuivres) |
II7 - V7 -Imaj7` |
Résolution classique | Ponts et transitions |
IV7 -Imaj7` |
Plagal / Cadence douce | Résolutions secondaires |
[!TIP]
En Mambo, leVIest presque toujours un accord de dominante (VI7) pour créer une tension chromatique vers leII7. Ne jouez jamaisVImaj7dans un contexte Mambo authentique.
🎸 La Basse Tumbao (Anticipative)
La basse ne joue pas sur les temps forts. Elle utilise le pattern Tumbao, qui place les accents sur les temps faibles et l’anticipation du & de 4 :
```
Pulsation : 1 & 2 & 3 & 4 &
Basse :