See photos for the respective waveforms using a circuit similar to the reference circuit in Signetics Application Note AN1182: "Using the NE5521 Signal Conditioner in Multi-Faceted Applications". Pin compatible with Signetics NE5521, SA5521, and SE5521.