Skip to content

A plugin-and-play beat tracking code snippets by madmom

License

Notifications You must be signed in to change notification settings

SoloLa-Platform/madmom-docker

Repository files navigation

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 .

About

A plugin-and-play beat tracking code snippets by madmom

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published