Why do I hear a "blip" at the end of an audio clip of a sinusoid? I generated a one second audio clip of a sinusoid at 440 Hz (16-bit, 44.1 kHz), ensuring that the last sample is zero. However, I hear a faint "blip" sound at the end of the clip, and have noticed this with similar clips that I have found online. Do you know why this happens, and how I can get rid of the "blip"?

Thanks for your help!
There's still the first derivative discontinuity. That gives a blip with a -12 dB/octave decaying spectrum. It's less audible (because it has less high frequencies) than the -6 dB/octave decaying spectrum of a proper discontinuity, but still audible, especially with a subwoofer... 

Do a (long enough a) fade out like Fat32 says and there will be no audible click.