Time-averaging circuit with continuous response