function readableDuration(seconds) {
sec = Math.floor( seconds );
min = Math.floor( sec / 60 );
min = min >= 10 ? min : '' + min;
sec = Math.floor( sec % 60 );
sec = sec >= 10 ? sec : '0' + sec;
return min + ':' + sec;
}
setTimeout(function(){
var timeMusic = document.querySelectorAll('.time-music');
for (let index = 0; index < timeMusic.length; index++) {
timeMusic[index].innerHTML = readableDuration(audio.duration);
}
}, 200);