Convert from an input pulse frequency to output another in near real time?

You should simply measure the input frequency, calculate the output frequency and use a tone ()...