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

Release files for ovos-skill-metronome 0.0.1

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.1
File Size Uploaded
ovos_skill_metronome-0.0.1.tar.gz 30.4 kB Details

Built distribution (wheel)

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

Total release size: 61.5 kB

Release files / ovos_skill_metronome-0.0.1.tar.gz

Download URL ovos_skill_metronome-0.0.1.tar.gz
Size 30.4 kB
Tags Source
SHA-256 checksum
How to use checksums
0663084a17ad1699e957d8235421aedc8d0ea5e595259ab9aa7b519195c2c39e
BLAKE2b-256 checksum
How to use checksums
ccacc10c4c66949f139d12ee2cf8d3e855c8809f7453a4dc3df08b7c249f7709
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 Aug 16, 2026.

Transparency log

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

Download URL ovos_skill_metronome-0.0.1-py3-none-any.whl
Size 31.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
d7b874e2ef543bf23cb585a8051f2639c7a267a0af355e07923db9a07bc908a9
BLAKE2b-256 checksum
How to use checksums
f5edd7c2f3b3684b8c7eea5a7e9261667596ad6eb2f046306002e053d15ec3b2
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 Aug 16, 2026.

Transparency log

Release history Release notifications | RSS feed

This release

0.0.1 This release

2 release files

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