Pulse trains may be generated either using the waveshaping formulation or the stretched wavetable one. The waveshaping formulation is easier to analyze and control, and we'll consider it first.