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 .
Release files for beat-tracker-wrapper 0.0.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| beat-tracker-wrapper-0.0.1.tar.gz | 2.9 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| beat_tracker_wrapper-0.0.1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 7.4 kB
Release files / beat-tracker-wrapper-0.0.1.tar.gz
| Download URL | beat-tracker-wrapper-0.0.1.tar.gz |
|---|---|
| Size | 2.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
5030389c88e04188e8450865c012b0cfd767e04bb4615a9b9201962046ac5e36
|
|
BLAKE2b-256 checksum How to use checksums |
12e6798d6329b59c4ecdb8d47b72b6f53f42ad3fbccaddb5869c7e3a5df010bf
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is 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
|
Release files / beat_tracker_wrapper-0.0.1-py3-none-any.whl
| Download URL | beat_tracker_wrapper-0.0.1-py3-none-any.whl |
|---|---|
| Size | 4.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
cf6bb937758ab50b3cf55fda16f5dfbcfa4c7562779103c45a6342ec885c9089
|
|
BLAKE2b-256 checksum How to use checksums |
8a150d6e2a357fa30ba5072ac5cf36f6998a2b7d0c98e83fcf9cc1d7b574db0a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is 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
|