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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Close
Hashes for beat-tracker-wrapper-0.0.1.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5030389c88e04188e8450865c012b0cfd767e04bb4615a9b9201962046ac5e36 |
|
MD5 | 34172a3d0f4de84ad53c77c0a6378db3 |
|
BLAKE2b-256 | 12e6798d6329b59c4ecdb8d47b72b6f53f42ad3fbccaddb5869c7e3a5df010bf |
Close
Hashes for beat_tracker_wrapper-0.0.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | cf6bb937758ab50b3cf55fda16f5dfbcfa4c7562779103c45a6342ec885c9089 |
|
MD5 | 172ebd737e99df26d4f01e42c5d717c4 |
|
BLAKE2b-256 | 8a150d6e2a357fa30ba5072ac5cf36f6998a2b7d0c98e83fcf9cc1d7b574db0a |