In a process for machining a workpiece by means of intermittent electro-erosive discharges resulting from providing controlled voltage and current pulses across a gap formed between an electrode tool and said workpiece, said pulses being obtained from at least one DC source switched on and off across said gap for providing cut-off time intervals of a predetermined duration during which no substantial voltage is applied across the gap to prevent said discharges from occurring, the improvement comprising controlling the average current across said gap by cyclically and repetitively varying the duration of said cut-off time intervals at a predetermined frequency, wherein the step of cyclically and repetitively varying the duration of said cut-off intervals is obtained by providing a bistable time reference capable of occupying one of two states one of which corresponds to said cut-off time interval between two consecutive pulses, controlling said time reference as a function of an electrical magnitude representative of normal machining conditions, counting the number of pulses applied across said gap during a predetermined period, providing at least two electrical signals each of which is obtained in response to an indication that the number of said pulses correspond to a predetermined number, varying said electrical magnitude in level each time one of said signals is provided, and modifying as a function of said electrical magnitude the time duration during which said bistable time reference is in one of said states.