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

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.2
File Size Uploaded Provenance Actions
ovos_skill_metronome-0.0.2.tar.gz 31.4 kB With provenance Details for ovos_skill_metronome-0.0.2.tar.gz

Built distribution (wheel)

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

Total release size: 62.8 kB

Release files / ovos_skill_metronome-0.0.2.tar.gz

Download URL ovos_skill_metronome-0.0.2.tar.gz
Size 31.4 kB
Tags Source
SHA-256 checksum
How to use checksums
fb23afbb10fbd857d3ecd88f5e6f7321e3a4199511cdba876acd947c287ad1fc
BLAKE2b-256 checksum
How to use checksums
6f364afa22619b4c33640fc4a92a200e753d1e00f79d0017384ea1221294a3dd
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 28, 2026.

Transparency log

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

Download URL ovos_skill_metronome-0.0.2-py3-none-any.whl
Size 31.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
347e5130e115dea999938b752d4c4bf4b696c4940a41919bf651e8ea5b3c773b
BLAKE2b-256 checksum
How to use checksums
597db6e1e11711465248fbad9ba73821ec0efe8a1835ec6ae642a14bf8c8ddb1
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 28, 2026.

Transparency log

Security for ovos-skill-metronome 0.0.2

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.2.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 28, 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