Skip to content

Latest commit

 

History

History
35 lines (27 loc) · 1 KB

README.md

File metadata and controls

35 lines (27 loc) · 1 KB

Tap Tempo

Overview

The Tap Tempo is a simple Go program that calculates the beats per minute (BPM) based on user input timings. It measures the time elapsed between each keypress to determine the BPM.

Features

  • Measure BPM by pressing any key.
  • Calculate average BPM over multiple measurements.
  • Quit the program by pressing 'q'.

Prerequisites

Before running this program, ensure you have Go installed on your machine. You can download and install it from the official Go website.

How to Use

  1. Clone the repository to your local machine:
git clone https://github.com/suleymantaspinar/tap-tempo.git
  1. Navigate to the project directory:
cd tap-tempo
  1. Run the program using the Go compiler:
go run main.go
  1. Press any key to start measuring BPM.
  2. Press any key after each beat.
  3. Press 'q' to terminate the program.

Example

image