Paul Falstad wrote an applet demonstrating how different filters affect the spectrum and the impulse response using various signals.
http://www.falstad.com/dfilter/
http://www.falstad.com/dfilter/