hooking up a frequency slider