This project fetches the BPM (Beats Per Minute) for a list of epic violin songs from songbpm.com.
-
Clone the repository:
git clone <repository_url> cd fetch_music_bpm
-
Create a virtual environment and activate it:
python -m venv venv source venv/bin/activate # On Windows use `venv\Scripts\activate`
-
Install the dependencies:
pip install -r requirements.txt
- Ensure the list of songs is in
data/song_list.txt. - Run the script:
python scripts/fetch_bpm.py
- The output will be displayed and saved in the
outputdirectory.
scripts/fetch_bpm.py: The main script to fetch BPM for songs.data/song_list.txt: Contains the list of songs to fetch BPM for.output/: Directory where the output files will be saved.
The dependencies are listed in the requirements.txt file.