@KevinB yeah, I already did that. Searching Stackoverflow has an unaccepted answer with ugly Date(), counting milliseconds and timeout is also suggested elsewhere
I found that the context of Web Audio API has a similar currentTime, but it's useless since it's relative to when the context is created. Is there anyway to get the currentTime relative to a source buffer ?
And was thinking that the easiest way to create levels would be if I had a image to show and a overlay image with the colors representing the active zones