An apparatus for generating an electrical signal for use in biomedical applications, including two timing blocks for generating timing intervals T1-T7, an interconnection block for combining these intervals into an output signal having predetermined relationships among the intervals, an output block for transmitting the output signal to a load, and, optionally, a filter for removing unwanted frequency components from the output signal and an adjustment block for selecting from among a plurality of output signals with predetermined characteristics. The output is a repeating succession of a burst of rectangular waves, an equalizing pulse (if needed) to cancel net DC, and a rest period of no signal.