Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/piero-vic/metronome

A small metronome for the terminal.
https://github.com/piero-vic/metronome

bubbletea metronome terminal

Last synced: about 1 month ago
JSON representation

A small metronome for the terminal.

Awesome Lists containing this project

README

        

# metronome

A small metronome for the terminal made with [Bubble Tea](https://github.com/charmbracelet/bubbletea) and
[Beep](https://github.com/gopxl/beep).

## Installation

Clone this repository and run:

```bash
go build
```

or

```bash
go install
```

## Usage

### Flags

```
Usage: metronome [options]

Options:
-t, --tempo=[int] set the tempo in BPM (default 60)
-b, --beats=[int] set the number of beats per measure (default 4)
-p, --play start the metronome automatically
-h, --help print help
```

### Keys

| Key | Description |
| ------------------------------------------------------------ | ------------------------------------ |
| Up Down or k j | Increase or decrease tempo |
| RightLeft or l h | Increase or decrease number of beats |
| Space or p | Play / Pause |
| Ctrl + c or q | Quit |

## License

This project is licensed under the [MIT License](LICENSE).