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

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

Built distribution (wheel)

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

Total release size: 67.4 kB

Release files / ovos_skill_metronome-0.0.4.tar.gz

Download URL ovos_skill_metronome-0.0.4.tar.gz
Size 33.6 kB
Tags Source
SHA-256 checksum
How to use checksums
ee101363157d3db64c41c81520cfef0b32355f4471dc9f3c2853007f3aa650e7
BLAKE2b-256 checksum
How to use checksums
5f3362fb031db2e6cf255aa631fc2ca2a1255917a652acb03c563e3829210e03
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 1, 2026.

Transparency log

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

Download URL ovos_skill_metronome-0.0.4-py3-none-any.whl
Size 33.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
6c27e27358a6c53582940af5d4282a39e834174c2ff11cc154d548db3f37f853
BLAKE2b-256 checksum
How to use checksums
607c80f40b39f4f7f9942a68a35286da40824425b8bfbdbbadb01cea48beb5cc
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 1, 2026.

Transparency log

Security for ovos-skill-metronome 0.0.4

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.4.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 1, 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