You may notice that there are clicks when transitioning between a
one-shot, unlooped pure tone created by the Tone Generator and other
sounds. To avoid the clicks, apply a 5ms fade in and fade out to the
tone. This will add 10 ms to the overall duration of the tone, but will
remove any clicking sounds.