Frequency to voltage circuit with LM339 in KORG MS-20 synthesizer
the red part produces a series of fixed width pulses at twice the input frequency. these pulses are cleaned up by the 4069 and then converted to voltage in low-pass filter at the end,