This document discusses, among other things, a system and method for generating a sleep therapy stimulus waveform for a patient. Stimulus sequence information can be selected from a sequence memory array, and stimulus sequence information can be received from the sequence memory array at a stimulus generator selector. A generator select signal can be provided to a stimulus generator of a closed loop neuromodulator using the stimulus sequence information and a stimulus duration signal, wherein the generator select signal can include stimulus type information related to stimulus pulses generated using the closed loop neuromodulator.