Vary the voltage of a water fountain pump according to the frequency

If the sound source is music, there's not one frequency present, but several.