A simple beat detection demo and inference workflow.
Install the required dependencies:
pip install -r requirements.txt
cd madmom
python setup.py developDownload the model from the following link:
Place the downloaded file in the models directory:
models/model_1_weights.onnx
Run the demo with:
python demo.py --input data/test/1_3beats.mp3 --model models/model_1_weights.onnx.
├── data
│ ├── test
│ └── outputs
├── models
│ └── model_1_weights.onnx
├── demo.py
└── README.md
- Test audio files are stored in
data/test - Reference outputs are stored in
data/outputs