GtkSigGen lets you use your sound card as an audio signal generator. It can do sine, square, triangle, sawtooth, and white noise signals so far. The left and right channels are independent and have their own signal type, frequency, amplitude, and phase controls.