Prevent clipping of audio
Wrong angle when dx equals 0