Generating pulses having essentially a finite slope or stepped portions having triangular shape having sawtooth shape using as active elements semiconductor devices in which a sawtooth current is produced through an inductor using a semiconductor device operating as a switching device {using pulse-modulation techniques for the generation of the sawtooth wave, e.g. class D, switched mode}