xxxxxxxxxx
var thesound;
function preload() {
thesound = loadSound("shirley.mp3");
}
function setup() {
createCanvas(windowWidth, windowHeight);
background(100);
thesound.loop();
textSize(80);
}
function draw() {
background(255);
fill(0);
let t = thesound.currentTime();
text(t, width/2, height/2);
}