Assuming you have a signal that ranges from 0V (0% duty-cycle of a 1.4V PWM) to 1.4V (100% duty-cycle of a 1.4V PWM), here is a circuit that offsets a 1Vpp Sine wave +- 500mV.
V(offset)
lite blue trace represents the smoothed PWM I showed in post #25; ranges from 0V to 1.4V.
V(sine)
green trace represents the reference Sine wave, in this example, 10Hz.
V(out)
red trace is the Sine Wave offset by +-500mV, as a function of the smoothed PWM.
View attachment 96871
To make the effect of the offset variable, replace R4 with a 20K pot wired as a rehostat. This will make V(offset) produce shifts of the Sine wave that are bigger than +-500mV or smaller than +- 500mV, but still centered such that no shift occurs when the PWM is 50%, i.e. V(offset) = 0.7V.
If the amplitude of V3 is externally variable, you can eliminate the voltage divider R6/R7. If V3 is fixed amplitude, you can vary just the Sine amplitude at V(out) without affecting the shift by replacing R6/R7 with a 20K pot.