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.4.tar.gz (88.8 kB view hashes)

Uploaded Source

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