Calculate the tempo of a song using Audio API and Spotify Web API