graph TD
Start[User Description Input] --> SA1
subgraph SA1[ScraperAgent]
A1[Scrape Tracklib New Arrivals] --> A2[Parse Data]
A2 --> A3[Output 10 Songs]
end
SA1 --> SA2
subgraph SA2[FilterAgent]
B1[Receive Song List + Description] --> B2[LLM Analysis]
B2 --> B3[Output Top 5 Songs]
end
SA2 --> SA3
subgraph SA3[DownloaderAgent]
C1[Find YouTube URLs] --> C2[Download MP3s]
C2 --> C3[Output 5 MP3s]
end
SA3 --> SA4
subgraph SA4[StemExtractorAgent]
D1[Process MP3s] --> D2[Extract Stems]
D2 --> D3[Output 10 Stems]
end
SA4 --> SA5
subgraph SA5[TempoAnalyzerAgent]
E1[Analyze Stems] --> E2[Extract BPM/Beats]
E2 --> E3[Output Tempo Data]
end
SA5 --> SA6
subgraph SA6[ChopAndPackAgent]
F1[Chop 16-Beat Segments] --> F2[Create ZIP]
F2 --> F3[Output final_samples.zip]
end
SA6 --> End[Final ZIP File]