May need to double clk to sync
You need to have a bpm detector like https://audioalter.com/bpm-detector Oh and DO NOT dare to not credit me when you use this on your project. That makes upset.