Skip to main content

This is a simple wrapper library for beat and down-beat tracking algorithm.

Project description

Beat tracking wrapper

This is a simple wrapper library for beat and down-beat tracking algorithm. Currently, this package only has madmom downbeat tracker The input audio format should be .wav. But you can use ffmpeg to convert .mp3 to .wav

Requirement

Usage

Command line

docker run -ti --rm -v $(pwd):/beat_tracker python cli.py input/test.mp3

Module

import tracker

args = tracker.TrackerArgument()
args.audio_path = 'input/slide.mp3'
args.output_dir_path = 'output/slide'
tracker.track(args)

Convert wav to mp3

ffmpeg -i input.wav -vn -ar 44100 -ac 2 -b:a 192k output.mp3

Build docker image

docker build -t beat_tracker:dev -f dev.dockerfile .

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

beat-tracker-wrapper-0.0.1.tar.gz (2.9 kB view hashes)

Uploaded Source

Built Distribution

beat_tracker_wrapper-0.0.1-py3-none-any.whl (4.4 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page