Skip to content

Instantly share code, notes, and snippets.

@purdeaandrei
Created May 12, 2016 20:49
Show Gist options
  • Save purdeaandrei/47b2b8faf7cd68acc3cd41fbf5229bc7 to your computer and use it in GitHub Desktop.
Save purdeaandrei/47b2b8faf7cd68acc3cd41fbf5229bc7 to your computer and use it in GitHub Desktop.
Small python script to manually measure bpm of songs.
#!/usr/bin/python
import time
raw_input()
t = time.time()
n=1
while True:
raw_input()
print 60*n/(time.time()-t)
n+=1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment