How do you want to 'vary' the frequency with one button? Did you want to enter values in Morse code? Did you want the button to have several different meanings for single click, double click, and long press?
Same for duty-cycle.
Are you SURE you don't want to use two pots?!?