bpm now only works on hard beats. need to make this more precise though.