Disclosed is a method of generating electrical signal waveforms by a generator. The generator includes a digital processing circuit a memory circuit in communication with the digital processing circuit the memory circuit defining a lookup table a digital synthesis circuit in communication with the digital processing circuit and the memory circuit and a digital to analog converter (DAC) circuit. The method includes storing by the digital processing circuit phase points of a digital electrical signal waveform in the lookup table defined by the memory circuit wherein the digital electrical signal waveform is represented by a predetermined number of phase points wherein the predetermined number phase points define a predetermined wave shape. Receiving a clock signal by the digital synthesis circuit. Retrieving by the digital processing circuit a phase point from the lookup table. Converting by the digital processing circuit the retrieved phase point to an analog signal.