* @param tweets
* @return tempo
*/
private Tempo getTempo(List<Tweet> tweets, TimelineMusic meta) {
long totalSpacingInMillis = 0;
Tweet previousTweet = null;
for (Tweet tweet : tweets) {
if (previousTweet != null) {
totalSpacingInMillis += Math.abs(previousTweet.getCreatedAt().getTime() - tweet.getCreatedAt().getTime());
}
previousTweet = tweet;
}
double averageSpacing = totalSpacingInMillis / (tweets.size() - 1);