Log In  

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

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.

P#38446 2017-03-20 09:37 ( Edited 2017-03-20 13:37)

[Please log in to post a comment]