Rotary Volume Control

Could anyone point me in the right direction for a tutorial on how to create a rotary volume control? I need to create a volume control but dont want to use a slider. I want the user to be able to turn the volume knob like on an amplifier. Any ideas?