How can I change the amplitude of a pwm signal ?

So you would use DAC outputs to make a PWM output? That's got to be somewhat limiting.