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
File details
Details for the file beat-tracker-wrapper-0.0.1.tar.gz
.
File metadata
- Download URL: beat-tracker-wrapper-0.0.1.tar.gz
- Upload date:
- Size: 2.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.3.0 pkginfo/1.7.0 requests/2.22.0 setuptools/51.3.1 requests-toolbelt/0.9.1 tqdm/4.56.0 CPython/3.8.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5030389c88e04188e8450865c012b0cfd767e04bb4615a9b9201962046ac5e36 |
|
MD5 | 34172a3d0f4de84ad53c77c0a6378db3 |
|
BLAKE2b-256 | 12e6798d6329b59c4ecdb8d47b72b6f53f42ad3fbccaddb5869c7e3a5df010bf |
File details
Details for the file beat_tracker_wrapper-0.0.1-py3-none-any.whl
.
File metadata
- Download URL: beat_tracker_wrapper-0.0.1-py3-none-any.whl
- Upload date:
- Size: 4.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.3.0 pkginfo/1.7.0 requests/2.22.0 setuptools/51.3.1 requests-toolbelt/0.9.1 tqdm/4.56.0 CPython/3.8.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | cf6bb937758ab50b3cf55fda16f5dfbcfa4c7562779103c45a6342ec885c9089 |
|
MD5 | 172ebd737e99df26d4f01e42c5d717c4 |
|
BLAKE2b-256 | 8a150d6e2a357fa30ba5072ac5cf36f6998a2b7d0c98e83fcf9cc1d7b574db0a |