graph TD
A[YouTube Video URL] --> B{YouTubeDownloader}
B --> C[MP3 File]
C --> D{StemExtractor}
D --> E[Instrumental Stem]
D --> F[Vocal Stem]
C --> G{BeatDetector}
G --> H[Beat Positions]
G --> I[Tempo BPM]
E --> J{AudioSegmenter}
F --> J
H --> J
I --> J
J --> K[Segmented Instrumental Sections]
J --> L[Segmented Vocal Sections]
K --> M{SampleChopper}
L --> M
H --> M
I --> M
M --> N[Individual Audio Samples]
N --> O{FileHandler}
O --> P[Samples Saved to Server]
P --> Q[Final Zip File]