Skip to main content

Beat Tracking Evaluation Toolbox

This repository implements a number of beat tracking evaluation methods, described in a summary paper:

  • Evaluation Methods for Musical Audio Beat Tracking Algorithms, Matthew E. P. Davies, Norberto Degara and Mark D. Plumbley, Technical Report C4DM-TR-09-06, 2009

Implementation by Adam Stark and Matthew Davies

Install

Run:

pip install beat-tracking-evaluation

Running the code (Python)

First, import the library:

import beat_evaluation_toolbox as be

Then, evaluate beat estimations on database of beat annotaions as follows:

R = be.evaluate_db(annotations, beats, measures, doCI)

where the arguments are as follows:

  • 'annotations' is a list of numpy arrays containing the beat annotations for the database
  • 'beats' is a list of numpy arrays containing the beat estimations for the database
  • 'measures' is a list of strings indicating which evaluation measures to use. Setting measures='all' calculates all measures. Specific measures can be chosen by setting measures = ['fMeasure','cemgilAcc','gotoAcc','pScore','continuity','infoGain','amlCem'] or a subset thereof.
  • 'doCI' is a boolean indicating whether or not to calculate confidence intervals

and the returned value is:

  • 'R' is a dictionary containing all results

All results will be printed to the terminal once the evaluation is complete.

License

The MIT License (MIT)

Copyright (c) 2012 Matthew Davies and Adam Stark

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

Metadata

Release files for beat-tracking-evaluation 1.1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for beat-tracking-evaluation 1.1.0
File Size Uploaded Provenance Actions
beat_tracking_evaluation-1.1.0.tar.gz 14.3 kB Without provenance Details for beat_tracking_evaluation-1.1.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for beat-tracking-evaluation 1.1.0
File Interpreter ABI Platform Actions
beat_tracking_evaluation-1.1.0-py3-none-any.whl Python 3 none any Details for beat_tracking_evaluation-1.1.0-py3-none-any.whl

Total release size: 29.3 kB

Release files / beat_tracking_evaluation-1.1.0.tar.gz

Download URL beat_tracking_evaluation-1.1.0.tar.gz
Size 14.3 kB
Tags Source
SHA-256 checksum
How to use checksums
ccc4c7e9c9bd8ddb927a437ac48fa7b1f1114be1067c04e1694d2a0133cdb3aa
BLAKE2b-256 checksum
How to use checksums
dfbf3b3dfae1f6912a901ed98bac9e616b2cf26da93c3131e9794e36f1def02a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.14.2

Release files / beat_tracking_evaluation-1.1.0-py3-none-any.whl

Download URL beat_tracking_evaluation-1.1.0-py3-none-any.whl
Size 15.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
285aad0a5c6941989539005b4f48cfcdaf17f5b56caf6d7d737f002d3f01012b
BLAKE2b-256 checksum
How to use checksums
429d762c600edcf6c1fbaf6446beacb68f1e15f20ed82bac7a76be2cd3375857
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.14.2

Security for beat-tracking-evaluation 1.1.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

1.1.0 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page