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.
- Measure BPM by pressing any key.
- Calculate average BPM over multiple measurements.
- Quit the program by pressing 'q'.
Before running this program, ensure you have Go installed on your machine. You can download and install it from the official Go website.
- Clone the repository to your local machine:
git clone https://github.com/suleymantaspinar/tap-tempo.git
- Navigate to the project directory:
cd tap-tempo
- Run the program using the Go compiler:
go run main.go
- Press any key to start measuring BPM.
- Press any key after each beat.
- Press 'q' to terminate the program.