reduce aliasing on pulse/square waveform via oversampling