Shaping pulses by increasing duration; by decreasing duration by the use of clock signals or other time reference signals