function-580x349Scullcom has a nice tutorial video series on building a function generator.

…we will design an build a function generator capable of providing a sine, triangle, square, pulse and ramp waveforms. We will be using the XR2206 function generator I.C. A 8 digit 7 segment display will be used to display the frequency.

Source: Scullcom Hobby Electronics via Embedded Lab