<metadata>
purpose: Detailed instrument-specific analysis with technique focus
type: instrument-analysis
language: markdown
dependencies: track_analysis.md, audio-segments
last-updated: 2025-09-30
</metadata>

<overview>
Comprehensive per-instrument analysis template focusing on playing techniques, patterns, and educational content. Links to parent track analysis and provides isolated instrument study materials.
</overview>

# 🎸 {{instrument_name}} Analysis: {{track_title}}

<build>
**Track**: [{{track_title}}](../track_analysis.md)
**Artist**: {{artist_name}}
**Instrument**: {{instrument_name}} ({{instrument_type}})
**Tuning**: {{tuning_info}}
**Effects Chain**: {{effects_used}}
**Playing Style**: {{playing_style}}
</build>

<measure>
**Total Playing Time**: {{instrument_duration}} / {{track_duration}}
**Notes Detected**: {{instrument_notes}} notes
**Techniques Used**: {{technique_count}} different techniques
**Difficulty Rating**: {{difficulty_rating}}/10
**Segment Quality**: {{instrument_segment_quality}}%
</measure>

<analyze>
**Performance Level**: {{performance_level}}
**Educational Value**: {{educational_score}}/10
**Technical Complexity**: {{technical_complexity}}/10
**Style Authenticity**: {{style_authenticity}}/10
**Practice Benefit**: {{practice_benefit}}/10
</analyze>

<deploy>
**Isolated Track**: ✅ Available
**Technique Segments**: ✅ Generated
**Practice Loops**: ✅ Ready
**Notation**: {{notation_status}}
</deploy>

---

## 🎯 Quick Navigation

### Sections
- [🎵 **Complete Isolated Track**](#complete-isolated-track)
- [🔧 **Technique Breakdown**](#technique-breakdown)
- [📚 **Learning Progression**](#learning-progression)
- [🔄 **Practice Loops**](#practice-loops)
- [📖 **Theory Analysis**](#theory-analysis)

### Difficulty Levels
- [🟢 **Beginner Segments**](#beginner-level-segments) (Rating 1-3)
- [🟡 **Intermediate Segments**](#intermediate-level-segments) (Rating 4-6)
- [🔴 **Advanced Segments**](#advanced-level-segments) (Rating 7-10)

---

## 🎵 Complete Isolated Track

<functions>
<function name="isolated_playback">
  <signature>play_isolated(instrument: {{instrument_name}}, full_track: true)</signature>
  <purpose>Playback complete instrument part isolated from mix</purpose>
  <parameters>
    <param name="start_time" type="timestamp" required="false">00:00.000</param>
    <param name="end_time" type="timestamp" required="false">{{track_duration}}</param>
    <param name="loop" type="boolean" required="false">false</param>
  </parameters>
  <returns>Full instrument track with other instruments removed</returns>
</function>
</functions>

### [🎧 **Full Isolated {{instrument_name}} Track**](isolated/{{instrument_name_lower}}_complete_isolated.mp3)
**Duration**: {{track_duration}} | **Quality**: Isolated mix

**Performance Overview**:
- **Active Playing**: {{active_percentage}}% of track
- **Rest Periods**: {{rest_percentage}}% silence/rests
- **Peak Moments**: {{peak_count}} technical highlights
- **Support Role**: {{support_percentage}}% accompaniment

---

## 🔧 Technique Breakdown

### Primary Techniques Identified

<patterns>
<pattern name="{{primary_technique_1}}">
  **Frequency**: {{technique_1_count}} occurrences
  **Time Coverage**: {{technique_1_duration}}
  **Difficulty**: {{technique_1_difficulty}}/10
  **Educational Value**: Essential for {{genre}} style
</pattern>

<pattern name="{{primary_technique_2}}">
  **Frequency**: {{technique_2_count}} occurrences
  **Time Coverage**: {{technique_2_duration}}
  **Difficulty**: {{technique_2_difficulty}}/10
  **Educational Value**: Advanced {{genre}} technique
</pattern>
</patterns>

### 🎸 Technique 1: {{primary_technique_1}}

**Definition**: {{technique_1_description}}

**Examples in Track**:

| Time | Duration | Audio Segment | Difficulty | Notes |
|------|----------|---------------|------------|-------|
| {{example_1_time}} | {{example_1_duration}} | [🎵 **Listen**](segments/{{technique_1_slug}}_example_001.mp3) | {{example_1_diff}}/10 | {{example_1_notes}} |
| {{example_2_time}} | {{example_2_duration}} | [🎵 **Listen**](segments/{{technique_1_slug}}_example_002.mp3) | {{example_2_diff}}/10 | {{example_2_notes}} |
| {{example_3_time}} | {{example_3_duration}} | [🎵 **Listen**](segments/{{technique_1_slug}}_example_003.mp3) | {{example_3_diff}}/10 | {{example_3_notes}} |

#### [🎧 **All {{primary_technique_1}} Examples**](compiled/{{technique_1_slug}}_all_examples.mp3)

**Learning Points**:
- {{learning_point_1}}
- {{learning_point_2}}
- {{learning_point_3}}

**Common Mistakes**:
- ❌ {{common_mistake_1}}
- ❌ {{common_mistake_2}}
- ✅ **Correct approach**: {{correct_approach}}

### 🎸 Technique 2: {{primary_technique_2}}

**Definition**: {{technique_2_description}}

**Progressive Examples** (Easy → Hard):

| Order | Time | Audio Segment | BPM | Key | Complexity |
|-------|------|---------------|-----|-----|------------|
| 1st | {{prog_1_time}} | [🎵 **Basic**](segments/{{technique_2_slug}}_basic.mp3) | {{bpm}} | {{key}} | Simple |
| 2nd | {{prog_2_time}} | [🎵 **Moderate**](segments/{{technique_2_slug}}_moderate.mp3) | {{bpm}} | {{key}} | Medium |
| 3rd | {{prog_3_time}} | [🎵 **Advanced**](segments/{{technique_2_slug}}_advanced.mp3) | {{bpm}} | {{key}} | Complex |

#### [🎧 **Progressive Practice Set**](compiled/{{technique_2_slug}}_progression.mp3)

---

## 📚 Learning Progression

### 🟢 Beginner Level Segments (Difficulty 1-3)

Perfect for students learning basic {{instrument_name}} skills:

<configuration>
<setting name="beginner_tempo" type="number" default="80">
  Recommended practice tempo (% of original)
</setting>
<setting name="loop_count" type="number" default="4">
  Default loop repetitions for practice
</setting>
</configuration>

| Section | Time | Technique Focus | Audio Link | Why Start Here |
|---------|------|-----------------|------------|----------------|
| {{beginner_1_name}} | {{beginner_1_time}} | {{beginner_1_tech}} | [🎵 **Practice**](practice/beginner/{{beginner_1_slug}}.mp3) | {{beginner_1_reason}} |
| {{beginner_2_name}} | {{beginner_2_time}} | {{beginner_2_tech}} | [🎵 **Practice**](practice/beginner/{{beginner_2_slug}}.mp3) | {{beginner_2_reason}} |
| {{beginner_3_name}} | {{beginner_3_time}} | {{beginner_3_tech}} | [🎵 **Practice**](practice/beginner/{{beginner_3_slug}}.mp3) | {{beginner_3_reason}} |

#### [🎧 **Complete Beginner Practice Set**](practice/beginner/complete_set.mp3)

### 🟡 Intermediate Level Segments (Difficulty 4-6)

Building on fundamentals with more complex patterns:

| Section | Time | Technique Focus | Audio Link | Skills Developed |
|---------|------|-----------------|------------|------------------|
| {{intermediate_1_name}} | {{intermediate_1_time}} | {{intermediate_1_tech}} | [🎵 **Practice**](practice/intermediate/{{intermediate_1_slug}}.mp3) | {{intermediate_1_skills}} |
| {{intermediate_2_name}} | {{intermediate_2_time}} | {{intermediate_2_tech}} | [🎵 **Practice**](practice/intermediate/{{intermediate_2_slug}}.mp3) | {{intermediate_2_skills}} |

#### [🎧 **Complete Intermediate Practice Set**](practice/intermediate/complete_set.mp3)

### 🔴 Advanced Level Segments (Difficulty 7-10)

Master-level techniques requiring significant experience:

| Section | Time | Technique Focus | Audio Link | Prerequisites |
|---------|------|-----------------|------------|---------------|
| {{advanced_1_name}} | {{advanced_1_time}} | {{advanced_1_tech}} | [🎵 **Master**](practice/advanced/{{advanced_1_slug}}.mp3) | {{advanced_1_prereqs}} |
| {{advanced_2_name}} | {{advanced_2_time}} | {{advanced_2_tech}} | [🎵 **Master**](practice/advanced/{{advanced_2_slug}}.mp3) | {{advanced_2_prereqs}} |

#### [🎧 **Complete Advanced Practice Set**](practice/advanced/complete_set.mp3)

---

## 🔄 Practice Loops

### Infinite Learning Loops

Custom-generated practice loops for focused skill development:

<patterns>
<pattern name="technique-focus-loops">
  **Purpose**: Isolate specific techniques for repetitive practice
  **Format**: 4, 8, or 16 bar loops with seamless transitions
  **Benefits**: Muscle memory development, timing precision
</pattern>
</patterns>

#### Essential Technique Loops

| Technique | Loop Length | Audio Link | BPM Options |
|-----------|-------------|------------|-------------|
| {{loop_tech_1}} | 4 bars | [🔄 **Loop**](loops/{{loop_tech_1_slug}}_4bar.mp3) | [80%](loops/{{loop_tech_1_slug}}_4bar_80.mp3) [100%](loops/{{loop_tech_1_slug}}_4bar.mp3) [120%](loops/{{loop_tech_1_slug}}_4bar_120.mp3) |
| {{loop_tech_2}} | 8 bars | [🔄 **Loop**](loops/{{loop_tech_2_slug}}_8bar.mp3) | [80%](loops/{{loop_tech_2_slug}}_8bar_80.mp3) [100%](loops/{{loop_tech_2_slug}}_8bar.mp3) [120%](loops/{{loop_tech_2_slug}}_8bar_120.mp3) |
| {{loop_tech_3}} | 16 bars | [🔄 **Loop**](loops/{{loop_tech_3_slug}}_16bar.mp3) | [80%](loops/{{loop_tech_3_slug}}_16bar_80.mp3) [100%](loops/{{loop_tech_3_slug}}_16bar.mp3) [120%](loops/{{loop_tech_3_slug}}_16bar.mp3) |

#### Progressive Difficulty Loops

Build skills gradually with interconnected loop sequences:

1. **Foundation Loop**: [🎵 Start Here](loops/foundation_{{instrument_name_lower}}.mp3) (2 bars, basic pattern)
2. **Development Loop**: [🎵 Next Level](loops/development_{{instrument_name_lower}}.mp3) (4 bars, added complexity)
3. **Mastery Loop**: [🎵 Full Challenge](loops/mastery_{{instrument_name_lower}}.mp3) (8 bars, complete technique)

---

## 📖 Theory Analysis

### Harmonic Function

**Role in Track**: {{harmonic_role}}

<functions>
<function name="harmonic_analysis">
  <signature>analyze_harmony(chords: {{chord_progression}}, key: {{track_key}})</signature>
  <purpose>Detailed harmonic analysis of instrument's contribution</purpose>
  <parameters>
    <param name="chord_progression" type="array" required="true">{{chord_progression}}</param>
    <param name="roman_numerals" type="array" required="true">{{roman_numerals}}</param>
  </parameters>
  <returns>Harmonic function analysis with audio examples</returns>
</functions>

#### Chord Progression Analysis

| Measure | Chord | Roman Numeral | Function | Audio Example |
|---------|-------|---------------|----------|---------------|
| 1 | {{chord_1}} | {{roman_1}} | {{function_1}} | [🎵 **Hear**](theory/chord_{{chord_1_slug}}.mp3) |
| 2 | {{chord_2}} | {{roman_2}} | {{function_2}} | [🎵 **Hear**](theory/chord_{{chord_2_slug}}.mp3) |
| 3 | {{chord_3}} | {{roman_3}} | {{function_3}} | [🎵 **Hear**](theory/chord_{{chord_3_slug}}.mp3) |
| 4 | {{chord_4}} | {{roman_4}} | {{function_4}} | [🎵 **Hear**](theory/chord_{{chord_4_slug}}.mp3) |

#### [🎧 **Complete Harmonic Progression**](theory/full_progression.mp3)

### Scale Usage

**Primary Scale**: {{primary_scale}}
**Modal Characteristics**: {{modal_features}}

#### Scale Examples in Context

| Scale Degree | Note | Usage Context | Audio Example |
|--------------|------|---------------|---------------|
| 1 (Root) | {{scale_1}} | {{usage_1}} | [🎵 **Example**](theory/scale_degree_1.mp3) |
| 3 (Third) | {{scale_3}} | {{usage_3}} | [🎵 **Example**](theory/scale_degree_3.mp3) |
| 5 (Fifth) | {{scale_5}} | {{usage_5}} | [🎵 **Example**](theory/scale_degree_5.mp3) |
| 7 (Seventh) | {{scale_7}} | {{usage_7}} | [🎵 **Example**](theory/scale_degree_7.mp3) |

---

## 🎯 Performance Analysis

### Technical Execution

<analyze>
**Timing Accuracy**: {{timing_accuracy}}% (±{{timing_deviation}}ms average)
**Intonation Quality**: {{intonation_quality}}% accurate pitches
**Dynamic Range**: {{dynamic_range}} dB variation
**Technique Consistency**: {{technique_consistency}}/10
</analyze>

### Performance Highlights

**Exceptional Moments**:
1. **{{highlight_1_time}}**: [🎵 **{{highlight_1_name}}**](highlights/{{highlight_1_slug}}.mp3) - {{highlight_1_description}}
2. **{{highlight_2_time}}**: [🎵 **{{highlight_2_name}}**](highlights/{{highlight_2_slug}}.mp3) - {{highlight_2_description}}
3. **{{highlight_3_time}}**: [🎵 **{{highlight_3_name}}**](highlights/{{highlight_3_slug}}.mp3) - {{highlight_3_description}}

**Learning Opportunities**:
1. **{{challenge_1_time}}**: [🎵 **{{challenge_1_name}}**](challenges/{{challenge_1_slug}}.mp3) - {{challenge_1_description}}
2. **{{challenge_2_time}}**: [🎵 **{{challenge_2_name}}**](challenges/{{challenge_2_slug}}.mp3) - {{challenge_2_description}}

---

## 🔗 Cross-References

### Related Instruments in Track
- [🎵 **{{other_instrument_1}}**]({{other_instrument_1_lower}}_analysis.md) - Complementary parts analysis
- [🥁 **{{other_instrument_2}}**]({{other_instrument_2_lower}}_analysis.md) - Rhythmic relationship study

### Pattern Library Connections
- [🔄 **{{pattern_type_1}} Patterns**](../../patterns/{{pattern_type_1_lower}}) - Similar patterns across tracks
- [🎼 **{{pattern_type_2}} Library**](../../patterns/{{pattern_type_2_lower}}) - Technique variations

### Educational Resources
- [📚 **{{instrument_name}} Fundamentals**](../../education/{{instrument_name_lower}}_basics.md)
- [🎓 **{{genre}} Style Guide**](../../education/{{genre_lower}}_style.md)
- [⚡ **Advanced {{technique_focus}}**](../../education/advanced_{{technique_focus_lower}}.md)

---

## 📊 Practice Recommendations

### Daily Practice Routine

**Warm-up** (5 minutes):
- [🎵 **Basic scales**](practice/warmup/scales.mp3)
- [🎵 **Finger exercises**](practice/warmup/fingers.mp3)

**Technique Focus** (15 minutes):
- [🎵 **{{primary_technique_1}} practice**](practice/technique/{{technique_1_slug}}_focused.mp3)
- [🎵 **{{primary_technique_2}} practice**](practice/technique/{{technique_2_slug}}_focused.mp3)

**Song Application** (10 minutes):
- [🎵 **Easy sections**](practice/songs/easy_sections.mp3)
- [🎵 **Challenge sections**](practice/songs/challenge_sections.mp3)

### Weekly Goals

- **Week 1-2**: Master beginner segments (🟢)
- **Week 3-4**: Tackle intermediate segments (🟡)
- **Week 5+**: Attempt advanced segments (🔴)

---

## 📈 Progress Tracking

### Skills Checklist

**Basic Techniques**:
- [ ] {{basic_skill_1}} - Practice with [🎵 segments](practice/basic/{{basic_skill_1_slug}}.mp3)
- [ ] {{basic_skill_2}} - Practice with [🎵 segments](practice/basic/{{basic_skill_2_slug}}.mp3)
- [ ] {{basic_skill_3}} - Practice with [🎵 segments](practice/basic/{{basic_skill_3_slug}}.mp3)

**Intermediate Techniques**:
- [ ] {{intermediate_skill_1}} - Practice with [🎵 segments](practice/intermediate/{{intermediate_skill_1_slug}}.mp3)
- [ ] {{intermediate_skill_2}} - Practice with [🎵 segments](practice/intermediate/{{intermediate_skill_2_slug}}.mp3)

**Advanced Techniques**:
- [ ] {{advanced_skill_1}} - Practice with [🎵 segments](practice/advanced/{{advanced_skill_1_slug}}.mp3)
- [ ] {{advanced_skill_2}} - Practice with [🎵 segments](practice/advanced/{{advanced_skill_2_slug}}.mp3)

---

## 💡 Teaching Notes

### For Instructors

**Key Teaching Points**:
1. **{{teaching_point_1}}** - Use [🎵 example](teaching/{{teaching_point_1_slug}}.mp3)
2. **{{teaching_point_2}}** - Use [🎵 example](teaching/{{teaching_point_2_slug}}.mp3)
3. **{{teaching_point_3}}** - Use [🎵 example](teaching/{{teaching_point_3_slug}}.mp3)

**Common Student Struggles**:
- **Problem**: {{student_problem_1}}
  **Solution**: {{student_solution_1}}
  **Audio Aid**: [🎵 **Demonstration**](teaching/solutions/{{student_problem_1_slug}}.mp3)

**Assessment Criteria**:
- **Technique Accuracy**: Can student execute without errors?
- **Timing Precision**: Does playing align with backing track?
- **Musical Expression**: Does student understand musical context?

---

## 🔄 Version History

- **v1.0**: Initial instrument isolation and basic analysis
- **v1.1**: Added technique-specific segments
- **v1.2**: Enhanced practice loop generation
- **v2.0**: Complete educational framework integration
- **v2.1**: Cross-reference system and theory analysis

---

*{{instrument_name}} Analysis generated by ULTRATHINK Markdown Music Library System v2.1*
*Parent Track: [{{track_title}}](../track_analysis.md) | Generated: {{analysis_date}}*
*Quality Score: {{overall_quality_score}}/100 | Practice Segments: {{practice_segment_count}}*