I created a metronome simulator within Hype. (https://www.dropbox.com/sh/7404k2ldctnr6w5/AAAFkLbecMm7NiJNQTGbxw2va?dl=0)
I wanted to try and make it without any custom JS functions, but I was worried about the amount of space that 170 different BPM audio files would take. I figured the best way to do it was create one metronome click with a different amount of space after the click for each BPM audio file and loop it... This way, each audio file would only be 10 KB. Before I created and exported each BPM (40-210 BPM), I tested out just one to see if the loop would have any delay and not actually match up with the true BPM of a regular metronome. To my surprise, it matched up exactly with no delay. After spending a couple more hours, I realized I only tested it on Safari and not other browsers.
Turns out all the other browsers have a delay when looping an audio track, which makes every BPM track off.
Any ideas to solve the delay issue? Or even an alternate method to simulate a metronome?