Open velocitatem opened 11 months ago
Product Spec:
This should be an HTML iframe or just a link that event organizers can put into their event ticket-purchasing software. It will prompt the user to connect some service/answer questions. For the purpose of this project, we will want the user to connect their Spotify account. and save their data
At some point before the event happens, data entry will be closed.
graph TD;
subgraph "SDK for Event Organizers"
A(Start) --> B[Event Ticketing Software]
B --> C{SDK Iframe/Link?}
C -->|Yes| D[User Connects Spotify]
C -->|No| Z(End)
D --> E[Save User Data]
E --> F{Before Event?}
F -->|Yes| G[Data Collection]
F -->|No| Z
end
subgraph "Data Collection & Processing"
G[Data Collection] --> H[Collect Top Tracks]
H --> I[Put Tracks in SET]
I --> J[Get Audio Analysis]
J --> K{Eliminate Outliers?}
K -->|Yes| L[Remove Outliers]
K -->|No| M[Average Target Values]
L --> M
M --> N{More Users?}
N -->|Yes| H
N -->|No| O[Generate Recommendations]
end
subgraph "Recommendation Engine"
O --> P[Get Spotify Recommendations]
P --> Q{Post-process for DJ Set?}
Q -->|Yes| R[Post-process]
Q -->|No| S[Final DJ Set]
R --> S
end
S --> T(End)
sometimes the algo sneaks in music that's not exactly right. Ideally we setup an iterative process of DJ selecting music from the recommendations and the using that generating more recommendations...