I agree with Peter. Using the signal to gate a counter is very easy to do, then processing that digital result from there. You could do it with an Arduino.
If you really wanted an analog output (which I dont think you do, really), you would transform the digital result and drive it into a DAC. You could do that with an Arduino as well.