Arduino IDE program to control 8253 Programmable interval timer

THIS has some examples, and a description of working with the 8253. As long as you sort out your hardware and clock, the rest should be pretty straightforward.

The trick will be developing the simplest user interface to control your three separate frequency selections.