Sometime the output is not continuous. Possible cause are overload. Possible solution do a separate thread to handle the interpolation.