Made Sines time-based instead of frame-based