Log In  


Cart #38445 | 2017-03-20 | Code ▽ | Embed ▽ | License: CC4-BY-NC-SA
3

I've been looking for a way to keep graphical effects in sync with music. This cart is my attempt to implement a "phase-locked-loop", which keeps time going smoothly forward while making small corrections to adjust for how the music has progressed.

It seems to work well, though it freaks out for a bit if you click outside the window or the framerate changes for any other reason.

3



[Please log in to post a comment]