Sudden changes in frequency cause a glitch to happen if not done propertly. This phenomenom is explained [here](https://mu.krj.st/osc_i/#the-bad-sine-oscillator). The solution is to change the slope in the function instead the frequency directly. * May solve the problem with FM synthesis