command line util for calculating beats per minute