Compile the code using go command line.
After compilation to run the code: go run main.go <mp3file_path.mp3>
How it works:
- Press any arrow key when you breathe. The onscreen counter will keep increasing until 108, and the song will start playing.
- On reaching 108, you have to stop breathing and feel the vibrations in your body.
- When you are ready to breathe again, hit enter.
On hitting enter, the screen will show how long did you hold your breath.
Hit Esc to close the app.