Skip to main content

Metronome with Terminal UI in ncurses

Project description

metropy

Metronome with a minimal UI, written in Python 3 + ncurses.

Features:

  • Change BPM
  • Change Beats Per Bar
  • Start/Stop metronome
  • Customizable sounds (via --bar and --beat)
  • BPM detector

Install

pip install metropy

Usage

usage: metropy [-h] [--bar BAR_SOUND] [--beat BEAT_SOUND] [bpm] [beats]

Metronome with Terminal UI in ncurses.

positional arguments:
  bpm                BPM (default is 60)
  beats              Beats per bar (default is 4)

optional arguments:
  -h, --help         show this help message and exit
  --bar BAR_SOUND    Path of the bar sound (.wav)
  --beat BEAT_SOUND  Path of the beat sound (.wav)

Example

metropy
metropy --bar /path/to/bar/sound.wav --beat /path/to/beat/sound.wav

Sometimes ALSA reports problem but the metronome will work anyway.
As always, you can suppress the errors with:

metropy 2> /dev/null

What it looks like

metropy-help

metropy-playing

metropy-detector

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

metropy-0.5.tar.gz (88.8 kB view details)

Uploaded Source

File details

Details for the file metropy-0.5.tar.gz.

File metadata

  • Download URL: metropy-0.5.tar.gz
  • Upload date:
  • Size: 88.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.24.0 setuptools/50.3.0 requests-toolbelt/0.9.1 tqdm/4.42.0 CPython/3.8.5

File hashes

Hashes for metropy-0.5.tar.gz
Algorithm Hash digest
SHA256 abca03a311f09e39da5fdbf0c1dac2820eb7f436a82a25cd0473b34117a5e380
MD5 b447c5a5da154aa5f857f7e0efa02cfa
BLAKE2b-256 9e4f8338ad30ad7011309be8cd4a35bf16180d14b81682ac5951afd3503a932f

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page