Skip to content

Drumbeats detector based on cross-correlation

Notifications You must be signed in to change notification settings

ZiCode0/DrumCorr

Repository files navigation

DrumCorr

forthebadge forthebadge forthebadge

LICENSE Github watchers

DrumCorr is a Python project for calculating auto and cross correlation based on the Obspy library.

Installation

Simply clone the repository and run the main file:

# git clone
git clone https://github.com/ZiCode0/DrumCorr.git
cd DrumCorr
# create python virtual environment
python -m venv .venv
# enter venv, linux:
source .venv/bin/activate  # windows: .venv\\Scripts\\activate.bat
# install dependencies
pip install -r requirements.txt
# run script
python main.py

Usage

  1. Enter virtual environment:
    source .venv/bin/activate
  2. Prepare data folder as in example.
    Place data files with template, marked with + in file name.
  3. Place and edit configuration Json file in this one.
    Example can be found here: example/config.json.
  4. Specify the config file when running program.
    python main.py -c data/2011-09-06/config.json

Contributing

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

About

Drumbeats detector based on cross-correlation

Resources

Stars

Watchers

Forks

Contributors 3

  •  
  •  
  •