Skip to main content

Metronome

A metronome for OVOS - set a tempo in beats per minute, get an audible click track with an accented downbeat. Fully deterministic, fully offline: the two click sounds are generated sine-wave bursts (see scripts/generate_clicks.py), not recordings, so there's nothing to source, license, or credit.

Tests PyPI version

Early 0.0.x release. Fixed 4/4 time signature only - see "Not yet implemented" below.

Usage

"set a metronome to 120 bpm"
"start a metronome"
"stop the metronome"
"sæt en metronom til 120 bpm"    (Danish)
"stop metronomen"                (Danish)

Saying "start a metronome" with no tempo resumes the last one used this session, or 120 bpm if none has been set yet. Valid range is 20-300 bpm.

Timing accuracy

Runs a background thread that computes each beat's scheduled time from a fixed accumulator, rather than repeatedly sleeping 60/bpm seconds - this avoids the small overhead of each click (play_audio() call, thread wake-up, etc) accumulating into noticeable drift over a long session. If a beat ever comes in late, the loop resyncs to wall-clock time rather than firing a burst of back-to-back catch-up clicks.

Not yet implemented

  • Time signature is fixed at 4/4 (accent every 4th beat). A "set the metronome to 3/4 time" waltz mode is a natural next addition - flagged here rather than built speculatively.
  • No visual/GUI beat indicator, audio only.

Install

pip install ovos-skill-metronome

Development

See DEVELOPMENT.md.

Category

Utility

Tags

#music #metronome #tempo #practice

Metadata

Release files for ovos-skill-metronome 0.0.3

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

Source distribution (sdist)

Source distribution for ovos-skill-metronome 0.0.3
File Size Uploaded Provenance Actions
ovos_skill_metronome-0.0.3.tar.gz 33.7 kB With provenance Details for ovos_skill_metronome-0.0.3.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for ovos-skill-metronome 0.0.3
File Interpreter ABI Platform Actions
ovos_skill_metronome-0.0.3-py3-none-any.whl Python 3 none any Details for ovos_skill_metronome-0.0.3-py3-none-any.whl

Total release size: 67.5 kB

Release files / ovos_skill_metronome-0.0.3.tar.gz

Download URL ovos_skill_metronome-0.0.3.tar.gz
Size 33.7 kB
Tags Source
SHA-256 checksum
How to use checksums
e59140da1b767d2211905f16cefcbd5d0ffc277e8cd3a9fda237ec316f77df0c
BLAKE2b-256 checksum
How to use checksums
ce56abc0dd23cdfacd872619ca54a797d836b8fe62a6fdee19c2507a2e6c7ae0
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Sep 30, 2026.

Transparency log

Release files / ovos_skill_metronome-0.0.3-py3-none-any.whl

Download URL ovos_skill_metronome-0.0.3-py3-none-any.whl
Size 33.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
0fbc853c433c1804b8c4183bebb7159472f71973c8e9be9fd0f4ac77e91506ab
BLAKE2b-256 checksum
How to use checksums
bc718b7f13e98252cbc5267df4e7e84a16d1f8f33cd15c4028197ed0cc1a68a7
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Sep 30, 2026.

Transparency log

Security for ovos-skill-metronome 0.0.3

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.

Full provenance

Both files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for ovos_skill_metronome-0.0.3.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Sep 30, 2026.

Transparency log

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.

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