Waveform selector