amplitude modulation input and output waveform