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.5

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.5
File Size Uploaded Provenance Actions
ovos_skill_metronome-0.0.5.tar.gz 33.6 kB With provenance Details for ovos_skill_metronome-0.0.5.tar.gz

Built distribution (wheel)

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

Total release size: 67.4 kB

Release files / ovos_skill_metronome-0.0.5.tar.gz

Download URL ovos_skill_metronome-0.0.5.tar.gz
Size 33.6 kB
Tags Source
SHA-256 checksum
How to use checksums
230fc3a368ddf431e56382a5ca22c5ae418e3b5ffda10baa8c379ec634a74821
BLAKE2b-256 checksum
How to use checksums
a6d61ce285a433077450017690a7d07c5d1d35f0cd22e3059a4054bdae9fa085
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 Oct 2, 2026.

Transparency log

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

Download URL ovos_skill_metronome-0.0.5-py3-none-any.whl
Size 33.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
b8e07a6c0fcc6ad90d3da1c4d76419eef661beabf1319d3780d6444351c25d76
BLAKE2b-256 checksum
How to use checksums
3d7ce63d27150611b7607b28d082a86e49155bebb7610e84a28b23b0b09d3ffb
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 Oct 2, 2026.

Transparency log

Security for ovos-skill-metronome 0.0.5

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.5.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 Oct 2, 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