Trying to get tempo algorithm to work instead, but failing.