TempoCraft
Spotify BPM Playlist Creator for workout and mood-based music discovery
TempoCraft is a hobby project that leverages the Spotify API to create playlists based on BPM (beats per minute) preferences. This tool is perfect for fitness enthusiasts, runners, and music lovers who want to create the perfect soundtrack for their activities.
Key Features
- BPM-Based Filtering: Search and filter songs by specific BPM ranges
- Spotify Integration: Seamless connection with your Spotify account
- Strava Integration: Sync running data to match music tempo with pace
- Custom Playlists: Automatically generate playlists based on tempo preferences
- Pace-Music Matching: Recommend optimal BPM based on your running pace
- Workout Optimization: Perfect for creating running, cycling, or gym playlists
Technical Stack
- Language: Python
- API Integration: Spotify Web API, Strava API
- Authentication: OAuth 2.0 with Spotify and Strava
- Libraries: Spotipy (Spotify Python library), Stravalib (Strava Python library), Pandas for data processing
Use Cases
- Smart Running: Automatically match music BPM to your average running pace from Strava
- Training Zones: Create playlists for different heart rate/pace zones
- Progressive Runs: Music that gradually increases tempo with your pace
- Recovery Runs: Low-tempo music for easy pace recovery sessions
- Race Preparation: Build race-day playlists based on target pace
- Mood-based Music: Find songs that match your energy level
Project Impact
This personal project demonstrates proficiency in API integration, user authentication, and music data processing while solving a real-world problem for fitness and music enthusiasts.