Skip to content

Latest commit

 

History

History

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 

README.md

Fetch Music BPM

This project fetches the BPM (Beats Per Minute) for a list of epic violin songs from songbpm.com.

Setup

  1. Clone the repository:

    git clone <repository_url>
    cd fetch_music_bpm
  2. Create a virtual environment and activate it:

    python -m venv venv
    source venv/bin/activate  # On Windows use `venv\Scripts\activate`
  3. Install the dependencies:

    pip install -r requirements.txt

Usage

  1. Ensure the list of songs is in data/song_list.txt.
  2. Run the script:
    python scripts/fetch_bpm.py
  3. The output will be displayed and saved in the output directory.

Project Structure

  • 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.

Requirements

The dependencies are listed in the requirements.txt file.