added conditioned waveform generator