This Flash applet simulates the motion of a vibrating string. The end of the string can be moved using the mouse or driven by an oscillator to set up traveling or standing waves.
This site provides tutorials on how sound works and allows one to experiment with "strings" of different lengths and widths. these can be combined to create a song.