At the beginning (and possibly also the end) of a generated sine-sweep signal, add an (optional?) ramp-up / ramp-down section to avoid impacting.