Use a capacitor. The capacitor removes the DC offset and produces an AC output. Adjust the capacitor to get the required frequency response. I recommend 100nF to start off with. The capacitor must be rated for at least the Vp-p, I think.

It's important to note that the capacitor will attenuate the signal slightly.

Use a capacitor. The capacitor removes the DC offset and produces an AC output. Adjust the capacitor to get the required frequency response. I recommend 100nF to start off with. The capacitor must be rated for at least the Vp-p, I think.

It's important to note that the capacitor will attenuate the signal slightly.

EDIT: Added image.

Click to expand...

Just be aware that it only works for waveforms with 50% duty cycle, like sine waves and square waves.